In HTML, a color can be specified in the form of hsl(hue, saturation,…
2018
In HTML, a color can be specified in the form of hsl(hue, saturation, lightness), where hue is a degree on the color wheel from 0 to 360. What are the hue values representing red, green, and blue?
- A.
0: Red, 120: Green, 240: Blue
- B.
0: Red, 130: Green, 260: Blue
- C.
100: Red, 200: Green, 300: Blue
- D.
120: Red, 240: Green, 360: Blue
Attempted by 104 students.
Show answer & explanation
Correct answer: A
In the HSL color model, hue is measured in degrees from 0 to 360 on a circular color wheel. Standard HTML specifications define red as 0 degrees, green as 120 degrees, and blue as 240 degrees. These values correspond to the primary positions on the color spectrum used for digital display.