colour space
A system for describing colours as numbers, such as sRGB's red, green and blue or OKLCH's lightness, chroma and hue.
In more detail
Different colour spaces cover different ranges of colours (their gamut) and arrange them differently. Some, such as RGB and HSL, are convenient for screens but do not match how bright colours look to people. Perceptual spaces such as OKLCH are designed so equal numeric steps look like equal visual steps.
Related terms
- OKLCH — A colour space, used in CSS as oklch(), that describes colours by perceived lightness, chroma (colourfulness) and hue angle.
- sRGB — The standard RGB colour space that most screens, images and older CSS colours use.
- HSL — A way of describing an sRGB colour by hue, saturation and lightness, which is easier to adjust by hand than raw RGB numbers.
- gamut — The full range of colours a colour space or screen can represent.
Taught in
- Modern Color Spaces: OKLCH, Gamut Mapping & APCA Contrast — Design Systems & Component Engineering