Charts · 10

Every named CSS colour, in OKLCH

CSS has 148 colour names, most of them inherited from X11 in the 1980s, where they were chosen by people naming paint chips, not by anyone with a colour model. Put them where they actually sit, by OKLCH hue and chroma, and the set shows its shape: a dense band of mid-lightness reds and blues, a thin green quarter, a cluster of pale near-whites named after fabrics, and six greys with two spellings each. Your browser resolves every name; nothing here is typed in.

0°90°180°270°
Sort by0 true neutrals:

    Notes

    Names are the named colours of CSS Color Module Level 4, section 6.1, which are the SVG 1.1 names, which are the X11 rgb.txt names with a handful of corrections (gray, green, maroon and purple keep HTML’s darker values; rebeccapurple was added in 2014). Each name is resolved by setting it as a canvas fillStyle and reading the hex back, then converted to Oklab and OKLCH with the matrices from Ottosson (2020) and to WCAG relative luminance. The wheel is OKLCH hue against chroma; lightness is the dot size and the sortable list.