colour
2 posts
- Twenty-five ways to write a colour down
A family tree of colour spaces from Munsell in 1905 to CSS Color 4 in 2022, in six lanes by purpose. Hover OKLCH and the whole lineage lights up, back through a blog post, a 1998 paper and a 1931 experiment.
- Why your design system needs OKLCH, not HSL
HSL lies about lightness. A 50% yellow does not look like a 50% blue. OKLCH fixes this, and once you see it you cannot unsee it. Here is the colour space, the maths, and the one binary search that keeps palettes inside the sRGB gamut.