Re: [csswg-drafts] [css-color-6] color-contrast() should take transparency into account (#7358)

Whatever default we pick, there will be cases where it's wrong, so it would be nice to offer a way out. How can the *author* select what the background is composited on? What if we add a `color-over()` function to do alpha compositing? Pretty sure there are other use cases for it too, and it should be relatively easy to implement.

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


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

Received on Tuesday, 31 January 2023 16:15:07 UTC