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

> Since we're adding support for lab/lch/gray colors

Yes, I was very pleased to [see that you were](https://bugs.webkit.org/show_bug.cgi?id=205675)!

>  it seems reasonable for the color() function to accept 'lab' as a predefined colorspace (we would need to be explicit about the white point). 

It could, certainly. 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);
```
> I also wonder if we should also accept 'xyz'.

Would that be absolute, or relative to the media white?

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

Received on Monday, 6 January 2020 12:02:08 UTC