Re: [csswg-drafts] [css-color] Add OKLab, OKLCH (#6642)

> But when using something like rec2020 which has a wider blue range, the mapping gets dull blues. 

I'm finding the same thing, and I think it is a consequence of better hue preservation in OKLCH. Mapping in CIE LH gives you a higher chroma, but preserves hue less well.

These examples below require an implementation that supports `color(display-p3)` so try a recent Safari TP.  Otherwise you won't see the actual colors, just black.

They show Rec2020 colors being brought into the `display-p3` gamut by Chroma reduction (constant hue, constant Lightness) both with and without a final clipping stage. The upper part of each diagram shows the resulting color (if inside `display-p3`; red if not) and the lower part shows the _linear-light_ `display-p3` color components.

[`rec2020` blue to `display-p3`, OKLCH](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/blendmaker-2020blue-ok-p3.html)
[`rec2020` blue to `display-p3`, CIE LCH](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/blendmaker-2020blue-cie-p3.html)
[`rec2020` green to `display-p3`, OKLCH](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/blendmaker-2020green-ok-p3.html)
[`rec2020` yellow to `display-p3`, OKLCH](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/blendmaker-2020yellow-ok-p3.html)

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


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

Received on Wednesday, 13 October 2021 14:06:15 UTC