HSL
A way of describing colour by hue, saturation and lightness, easier to adjust by hand than RGB.
See it on the 3D treeGoing deeper
Hue is an angle, while saturation and lightness are percentages. It rearranges the RGB cube rather than modelling vision, so the lightness number is unreliable: yellow and blue at 50 per cent look very different in brightness. It is also not the same as HSB or HSV, found in many colour pickers.
Why it matters
It makes quick variations easy, provided you check results by eye and with contrast tools.
In practice
For a hover state you lower only the lightness value of a button colour and keep hue and saturation.
Common mistake
Building palettes with equal HSL lightness and expecting every colour to have equal contrast.
Connected terms
- Hex CodeHSL describes screen colours in terms that are easier to adjust.
- HueHue is the first of the three HSL values.
- OKLCHOKLCH offers similar controls with far more perceptually even lightness.
- SaturationSaturation is the second, controlling distance from grey.