Home »
MCQs »
Advanced CSS MCQs
What are the HSLA color values?
10. What are the HSLA color values?
- hsla(hex, saturation, lightness, alpha)
- hsla(hex, solid, lightness, alpha)
- hsla(hue, solid, lightness, alpha)
- hsla(hue, saturation, lightness, alpha)
Answer: D) hsla(hue, saturation, lightness, alpha)
Explanation:
An HSLA color value is specified with: hsla(hue, saturation, lightness, alpha), where the alpha parameter defines the opacity.