ColorWeb-CG
ColorWeb-CG copied to clipboard
A higher level method to check whether a color is within the range of the output device would be preferable
From https://github.com/w3ctag/design-reviews/issues/917#issuecomment-1964765613
The part of the API around checking whether a color is in within the volume of the output device and mapping it manually by the author seemed both too close to the hardware to be future-compatible, and too low level to have good DX. We think a higher level method to check whether a color is within the range of the output device would be preferable.
I have asked for clarifications on the comment at https://github.com/w3ctag/design-reviews/issues/917#issuecomment-2179469744
I would like to provide this ability. Last time I brought it up (TPAC 2023), all other browser vendors that expressed an opinion on it indicated that they were against it. (So I see it as something I won't be able to change).