Home
CSS
CSS Colors
HSL
Tryit: Lightness
Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
HSL Lightness
The third parameter of hsl() defines the lightness. 0% means black, and 100% means white:
hsl(0, 100%, 0%)
hsl(0, 100%, 25%)
hsl(0, 100%, 50%)
hsl(0, 100%, 75%)
hsl(0, 100%, 90%)
hsl(0, 100%, 100%)