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

I do think that rec2020 gamut mapping needs more investigation (as noted on [the next steps slide](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/lilley.html#next)) and in particular I want to do some `rec2020` to `display-p3` mapping (with swatches output in `display-p3`).

I notice that OKLab and CIE Lab have different lightness estimation for high-chroma blues.

Here is rec2020 blue with OKLCH chroma reduced to zero [without clip](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/rec2020-blue-oklab-noclip.svg) and [with clip on deltaEOK < 0.02](https://www.w3.org/Graphics/Color/Workshop/slides/lilley/images/rec2020-blue-oklab-clip.svg). In both, the colors on the upper part are the sRGB color (if in gamut) or salmon (if in display-p3) or red (if outside display-p3) while the lower part shows the linear-light display-p3 component values.

I can easily put the same thing together where the upper part is display-p3 and the gamut clip is to the display-p3 gamut (but it will currently only display on Safari TP and BFO Publisher)

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


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

Received on Wednesday, 29 September 2021 15:26:11 UTC