Mastodon Feed: Post

Mastodon Feed

Boosted by kornel ("Kornel"):
leaverou@front-end.social ("Lea Verou, PhD") wrote:

🎨 Ever wondered why oklch() is so odd?
Why adjusting L doesn't produce good color ramps?
And why TF is L=100% not white?!?

I just wrote a thorough explanation of why this happens¹: https://github.com/web-platform-tests/interop/issues/1394

👍 Upvote if you want this fixed in browsers in 2027!

¹ Spoiler alert: it’s the lack of gamut mapping

Illustration of the problem (screenshot from issue)