Re: [csswg-drafts] [css-color-4] gather use cases and examples for gamut mapping (#9966)

A huge use case is when creating tints of accent colors (a prime use case for polar spaces).

Let’s take `red` as an example, an sRGB color, which corresponds to `oklch(62.8% 0.258 29.2)`. **Cranking up its lightness to 90% gets us not only outside P3, it gets us outside Rec.2020!**
Reducing its chroma until it fits within P3 takes us down to a chroma of 0.06 (!).

https://colorjs.io/apps/gamut-mapping/?color=red&color=oklch%2890%25+0.258+29.2%29&color=oklch%2890%25+0.06+29.2%29

<img width="1110" alt="image" src="https://github.com/w3c/csswg-drafts/assets/175836/b41c1dc7-82e9-431f-9ea8-5182e9f09e3f">


-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9966#issuecomment-1948953344 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 February 2024 17:30:53 UTC