HSL Color HTML
HSL Color HTML
❮ PreviousNext ❯
HSLA color values are an extension of HSL with an Alpha channel (opacity).
HUE
SATURATION
100%
LIGHTNESS
50%
Example
Saturation
Saturation can be described as the intensity of a color.
50% is 50% gray, but you can still see the color.
ADVERTISEMENT
Lightness
The lightness of a color can be described as how much light you want to give
the color, where 0% means no light (black), 50% means 50% light (neither dark
nor light), and 100% means full lightness (white).
Example
hsl(0, 100%, 0%)
Shades of Gray
Shades of gray are often defined by setting the hue and saturation to 0, and
adjusting the lightness from 0% to 100% to get darker/lighter shades:
Example
SATURATION
100%
LIGHTNESS
50%
ALPHA
0.5
Example
hsl(0, 0, 100%)