Re: [csswg-drafts] [css-color-4] Should the color() function accept 'lab' as a color gamut keyword (#4649)

> That would just be a somewhat more verbose alias for the `lab()` function, right?
>
>     border-color: lab(65.5% -38.8 -6.9);
>     border-color: color(lab 65.5% -38.8 -6.9);

The current [ED](https://drafts.csswg.org/css-color/#color-function) prescribes `<number>`, i. e. does not allow `<percentage>` (nor `<angle>` #4489) at all, but this should change soon by way of either #3450 or #4494. 

> `color() = color( [ <ident>? [ <number>+ | <string> ] [ / <alpha-value> ]? ]# , <color>? )`

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

Received on Monday, 6 January 2020 20:31:08 UTC