Re: [csswg-drafts] [css-color-4] Are a and b in lab( 0%, a, b ) really powerless? [css-color-4] (#6758)

The text which seems more generally applicable is:

>Any color which is not an invalid color is a valid color.

>A color may be a valid color but still be outside the range of colors that can be produced by an output device (a screen, projector, or printer). It is said to be out of gamut for that color space.

>An out of gamut color has component values less than 0 or 0%, or greater than 1 or 100%. These are not invalid; instead, for display, they are gamut-mapped using a relative colorimetric intent which brings the values within the range 0/0% to 1/100% at computed-value time.

https://drafts.csswg.org/css-color/#color-function

A few more examples of out-of-gamut colors would be very useful - especially if they're the result of mapping from in-gamut colors in other color spaces - and produce results that seem intuitively wrong:

`lab( 0%, -100, 100 ) = oklch(-17.24% 0.29655 146.962)`

For me "intuitively wrong" happens with color components that are related to physical concepts like lightness. On the other hand, I have absolutely no expectations about color angles, since I can't relate them to anything physical (but that might not be true for other people).

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


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

Received on Wednesday, 27 October 2021 13:22:54 UTC