Re: [csswg-drafts] [css-color-4] Channel clipping breaks author expectations, especially when using 'perceptually uniform' spaces (#9449)

Great to see more algorithms emerging indeed! It would help in comparing them to send a PR to add them to the [gamut mapping playground](https://colorjs.io/apps/gamut-mapping/) so we can compare them?
This is the file: https://github.com/color-js/color.js/blob/main/apps/gamut-mapping/methods.js

(presumably this will be easier for @facelessuser than @ardov)

@facelessuser As I mentioned above, one way the CSS use case is different is that preserving relationships between colors is less important than preserving the characteristics of each individual color, so using photographs is not the best way to test an algorithm.

@jamesnw 
> Display colors as close to the specified color as possible. What this means is undefined but needs to be quantified and agreed on. Judging this will be more difficult for colors that can not be created on any display or that can not be perceived by the eye.

Judging this by eye will be more difficult for these colors, but there is a host of metrics developed to quantify *exactly* this thing: DeltaE.

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


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

Received on Thursday, 15 February 2024 22:36:51 UTC