Adjust the Hue of a Color
Summary
- Colors have several characteristics including hue, saturation, and lightness.
- CSS3 introduced the
hsl()
property as an alternative way to pick a color by directly stating these characteristics. - Hue (
h
) is the color. - Uses the color wheel.
- Value between
0
and 360
.
- Saturation (
s
) is the amount of gray in a color. - Lightness (
l
) is the amount of white or black in a color.
Final Code