Complete the code to set the background color using HSL with hue 120.
background-color: hsl([1], 100%, 50%);
The hue value 120 represents green in HSL color. This sets the background color to bright green.
Complete the code to set the text color to a semi-transparent red using HSL with 50% lightness.
color: hsla(0, 100%, [1]%, 0.5);
Lightness at 50% gives a balanced red color. The alpha 0.5 makes it semi-transparent.
Fix the error in the HSL color code to make the background blue.
background-color: hsl([1], 100%, 50%);
Hue 240 corresponds to blue on the color wheel, so this sets the background to blue.
Fill both blanks to create a pastel purple background with 70% lightness and 50% saturation.
background-color: hsl([1], [2]%, 70%);
Hue 270 is purple. Saturation 50% with lightness 70% creates a soft pastel purple color.
Fill all three blanks to create a dark olive green color with hue 120, 40% saturation, and 25% lightness.
background-color: hsl([1], [2]%, [3]%);
Hue 120 is green, 40% saturation makes it less bright, and 25% lightness makes it dark, resulting in dark olive green.