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

> There is text about how to convert lab/lch to sRGB, so implementors may take this to mean that lab/lch should be converted to sRGB for rendering, but UAs that wish to support extended color rendering may choose to map lab/lch into some other working colorspace. I think the spec should make this clearer. 

I agree that this could have been misunderstood. I have:

- made sRGB be an example for RGB to Lab, and clarified that the sample JavaScript code has conversions from several RGB spaces
- clarified that the a reason to do Lab to RGB conversion is on-screen display
- clarified that the display profile should be used for this
- changed the example to use Lab to display-p3
- added brief CMYK to Lab and Lab to CMYK overview, indicating the ICC profile should be used for the conversion

The part about [gamut mapping](https://github.com/w3c/csswg-drafts/issues/5191) is still to be added

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


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

Received on Thursday, 24 September 2020 13:33:19 UTC