Re: [csswg-drafts] [css-color-4] Color modifications proposal: extending color functions

Yeah, agreed. I guess then we need to find a syntax for same and relative values that is both sufficiently understandable and sufficiently terse. I’m a tiny bit worried that `_` may be *too* terse, but mostly I think I like it.

One benefit of the optional argument syntax that is now lost is that it's also a color space conversion syntax. `rgb(var(--mycolor))` clips to sRGB, `color(var(--mycolor) myCMYK)` would convert to CMYK. Not sure how useful that was by itself and whether we want to preserve it. It can still be expressed via `rgb(var(--mycolor) _ _ _)` and `color(var(--mycolor) myCMYK _ _ _ _)` respectively. 

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

Received on Wednesday, 3 October 2018 00:27:29 UTC