Re: [csswg-drafts] [css-color-4] Should lab() colors which are outside the sRGB gamut be rendered on capable displays? (#4646)

There are two cases:

1. The color is used as-is. In that case, it will be converted to the display (or other output device) gamut in the usual way (for ICC-based implementations, the source profile will be Lab and the destination profile will be the 'full gamut' or 'native' display or printer ICC profile
2. The color is manipulated first. The color manipulation functions in CSS Color 5 are defined to use `lch()` by default. Gradient interpolation and compositing are currently defined to use sRGB; working colorspace allows that to be changed (including `display-p3, or `lab` or `lch`). The resulting color is then converted to the display (or other output device) gamut .

I agree that this needs to be stated explicitly, otherwise implementers could easily guess wrong.

For case 1. it is independent of #300 

This probably needs a new section in the spec.


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

Received on Monday, 6 January 2020 11:33:44 UTC