Re: [csswg-drafts] [css-color-5] More clarity around the percentage in color-mix() (#6064)

The following may be tangential to this thread, but:

0% should always have the same result, regardless of linear or the gamma for gamma encoded space.
100% should also.

However 50% should be expected to be very different depending on the gamma or linearness of the space, and just as an FYI, alpha values are affected by the gamma of the color values, so an alpha of 0.5 effectively has a different perceptual effect for different colorspaces, i.e. if you have a color in linear space with an alpha of 0.5, when converting that color to a gamma encoded space, the alpha also needs to be adjusted/converted.



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


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

Received on Tuesday, 2 March 2021 19:59:24 UTC