Re: [csswg-drafts] [css-color-4] Channel clipping breaks author expectations, especially when using 'perceptually uniform' spaces (#9449)

The resolution that I want us to get to has the following shape:

* Bake gamut mapping (say, to `rec2020`) into `oklab` and `oklch`
  * That's what option in chrome://flags does... approximately.
* Consider adding `oklab-srgb`, `oklab-p3`, and `oklab-rec2020` variants (if valuable)
  * If so, make the default interpolation space be the `oklab-rec2020` variant
  * Make `oklab` map to one of these
* Bake a similar (or maybe same?) gamut mapping to `lab` and `lch` spaces.
* Consider re-introducing the restriction of parameters being in `[0,1]` for the RGB/XYZ spaces.
  * (I'm agnostic on this -- there's a place for extended spaces, but maybe they should be explicitly named)

I think that this space has solutions to all of the issues we've discussed here. Except the "but we might need to update the spec in 10 years" issue, which I think is fine.

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


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

Received on Monday, 12 February 2024 13:46:13 UTC