Re: [csswg-drafts] [css-color] Should `color-mix(green 0%)` return transparent black or transparent green? (#12214)

This is also a natural consequence of inerpolating in pre-multiplied space. As the alpha decreases towards zero, the color contribution also decreases, towards zero. This is natural, and expected.

> The new case here is a single argument, where there's at least nothing else to mix with.

Note that `color-mix(in whatever, green 0%, green 0%)` also returns transparent black and in this case, it is more obvious that interpolation happened.

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


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

Received on Wednesday, 21 May 2025 18:43:56 UTC