HSL
A way of describing an sRGB colour by hue, saturation and lightness, which is easier to adjust by hand than raw RGB numbers.
In more detail
HSL rearranges the same RGB colours into a cylinder. Its lightness does not match perceived brightness, so different hues at the same HSL lightness look very different. That flaw is why modern design systems moved to OKLCH.
Related terms
- RGB — A way of describing a colour by how much red, green and blue light to mix, each usually from 0 to 255.
- OKLCH — A colour space, used in CSS as oklch(), that describes colours by perceived lightness, chroma (colourfulness) and hue angle.
- perceptual uniformity — The property of a colour space where equal changes in its numbers look like equal changes to the human eye.
Taught in
- Modern Color Spaces: OKLCH, Gamut Mapping & APCA Contrast — Design Systems & Component Engineering