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

Yes, I suspect the reasonable use-cases are indeed about verbatim lifting a component and applying it to another, not *interpolating* between them per-se.  Any interpolation cases are best handled by full-color interpolation, I would suspect.

> This is pretty much exactly the kind of use case the relative color syntax is for (which is separate from color-adjust()).

I don't see how it does that, unless, as you say, we do add some way to extract a channel from a color. Then I suppose it's `lch(from var(--primary) l c hue-channel(var(--theme-1)) / a)`?

Is this better than `color-mix(var(--primary), var(--theme-1) hue(100%))`?

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

Received on Friday, 12 June 2020 02:16:41 UTC