- From: Isaac Muse via GitHub <sysbot+gh@w3.org>
- Date: Tue, 19 Nov 2024 14:01:59 +0000
- To: public-css-archive@w3.org
It probably should be noted that there is a separate discussion talking about exposing blending (possibly) and alpha compositing of colors: https://github.com/w3c/csswg-drafts/issues/8431. I don't think that discussion goes into specific steps in compositing colors and is more discussing an interface to do so. I think if such an interface is approved, it probably shouldn't allow compositing to be applied in a cylindrical color space. `color-mix` is not really a compositing interface, but more an interface for getting a color anywhere between two colors, and yes, cylindrical spaces behave very differently when interpolation is done within them simply due to how they separate the color characteristics. Even if using a rectangular color space, mixing two transparent colors at 50% will not yield the same results as applying Porter Duff compositing on those two colors. The logic is different, even if interpolation is used in Porter Duff compositing. This is why I don't think `color-mix` should be viewed as a compositing interface, not directly. I think this is a pretty good read on alpha compositing: https://ciechanow.ski/alpha-compositing/. -- GitHub Notification of comment by facelessuser Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11238#issuecomment-2485805000 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 November 2024 14:02:00 UTC