Re: [csswg-drafts] [css-color-5][mediaqueries-5] add <kelvin()> color-function and a means for exempting from global color filters (#6582)

[Chromatic adaptation](https://en.wikipedia.org/wiki/Chromatic_adaptation) relates to the state of someone's eye, in other words what color they currently consider to be a neutral white. This is not something a web designer can control.

> The main reason I suggest the <kelvin()> color-function itself as a convenience is that Kelvin color values are increasingly used in marketing materials (for LED luminaires),

A range of different colors (varying along the green-to-magenta tint axis) will have the same CCT. 

> the math for translating a Kelvin blackbody locus to the color on a computer display is well enough established that it should be relatively trivial for browser vendors to implement.

For a color exactly on the black body locus, yes. That won't necessarily get you the same color as that produced by a random lightbulb that is labelled with the same CCT. As an example, D65 white is not the same color as a blackbody 6504 Kelvin. 

And display of those colors assumes adaptation to D65, not the white produced by that bulb.

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


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

Received on Wednesday, 26 January 2022 17:11:39 UTC