FWIW, Tab's last post convinced me. I still think it's a hack to use `color-mix()` to combine components from multiple colors, but using the relative color syntax would also be a hack, so it's the best solution we have right now. Ideally we need functions to extract color components, though then how do we namespace? Maybe we could get away with just `alpha()`, `hue()`, `chroma()` and `lightness()`? Which components are the actual use cases for? @Crissov that's what I thought at first, but this syntax is good for doing math on a single color's components, not combining components from two colors. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5192#issuecomment-652771117 using your GitHub accountReceived on Thursday, 2 July 2020 04:14:13 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC