/3lxlwl3ahbq2s

Note

Dominik Hofer
Dominik Hofer

🎨 TIL why OKLCH is a superior color format compared to HSL (which is what I currently use most often).

In short, OKLCH supports the wider P3 color space natively and it works with perceived lightness instead of the absolute one.

evilmartians.com/chronicles/o...

OKLCH in CSS: why we moved from RGB and HSL—Martian Chronicles, Evil Martians’ team blog
CSS Color Module 4 adds oklch(), and we gain P3 wide-gamut support, boost code readability, and improve developer-designer communication.
evilmartians.com

Follow

RSS Feeds