Re: [w3ctag/design-reviews] CSS Color: lab(), lch() (#488)

There is an ongoing discussion at the intent-to-prototype thread about what other parts of the spec still need some work:

  https://groups.google.com/a/chromium.org/d/topic/blink-dev/iwsT-jkCQcI/discussion

And there are open issues at the CSSWG with different levels of consensus for topics such as:

* working color spaces (https://github.com/w3c/csswg-drafts/issues/300) 
* rendering colors outside the sRGB gamut (https://github.com/w3c/csswg-drafts/issues/4646)
* interpolation in non-sRGB color spaces (https://github.com/w3c/csswg-drafts/issues/4647)
* etc.

My main question at the moment is whether it would make sense to implement Lab-like selection and interpolation using the browser's existing color infrastructure (i.e. with clamped outputs), or whether it would be necessary to spec and implement general support for wider gamuts first.

A related question is whether there could be a path from those clamped `lab()` and `lch()` functions to their wide-gamut versions (if/when they are supported by the browser).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/488#issuecomment-604507639

Received on Thursday, 26 March 2020 15:48:25 UTC