w3c / ColorWeb-CG

repo for the Color on the Web Community Group
47 stars 21 forks source link

A higher level method to check whether a color is within the range of the output device would be preferable #116

Open palemieux opened 2 weeks ago

palemieux commented 2 weeks ago

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.

palemieux commented 2 weeks ago

I have asked for clarifications on the comment at https://github.com/w3ctag/design-reviews/issues/917#issuecomment-2179469744