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

> 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);
> ```

Yes, I think so.

> > I also wonder if we should also accept 'xyz'.
> 
> Would that be absolute, or relative to the media white?

I don't know what would be useful to authors. Maybe color() should let you specify the white point?

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

Received on Monday, 6 January 2020 16:34:35 UTC