- From: Una Kravets via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Mar 2021 15:53:03 +0000
- To: public-css-archive@w3.org
I still feel that adding negative values to `color-mix()` introduces unnecessary complexity. This function is intended to simplify mixing between two colors. For more advanced color-adjustment, there is `color-adjust()`. I feel that most people's mental models of "color mixing" is taking two colors and mixing a bit of each together to result in a final value. The final value must add up to 100%, regardless of what percentage of each color was added. Therefore it makes sense to me that anything outside of a positive percentage of either of the input colors is invalid or clipped between [0...100]. Using color-mix() to introduce negative color adjustment feels like the wrong tool for the job (it should be `color-adjust`ed first to get the actual value they'd want to be mixing (and `color-adjust` can also be nested inside this function, providing a cleaner view for what's happening). To me, negative input values seem to result in difficult-to-understand outputs. -- GitHub Notification of comment by una Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6047#issuecomment-795641842 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 March 2021 15:53:05 UTC