W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-color-5] What's the use case for color-mix() per-component adjusters? (#5192)

From: Una Kravets via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Jul 2020 20:34:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-654451413-1594067652-sysbot+gh@w3.org>
I don't think the use-cases for mixing a specific color channel from one color with a different base color (i.e. just the lightness of blue with red) are that common or possible in other design software, so I think its okay to not enable this capability.

One could do a `color-adjust()` within `color-mix()` to create transformations simultaneously (i.e. lighten blue by 10% then mix with red). This would enable 1-line adjustments used with dynamic variables.

GitHub Notification of comment by una
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5192#issuecomment-654451413 using your GitHub account
Received on Monday, 6 July 2020 20:34:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC