Re: [csswg-drafts] [css-color] Add OKLab, OKLCH (#6642)

> Alternative suggestion to renaming `lab()` and `lch()`: Ditch `color()` in favor of established functional notations with known parameters and introduce the (now optional) colorspace identifier to them:

I quite like this suggestion. It makes it so the functions map to a color model (akin to https://developer.apple.com/documentation/coregraphics/cgcolorspacemodel?language=objc), the only holdout would be xyz, since it doesn't really fit into any of those, so we would probably want an xyz() function as well.

Since we have been shipping color() in Safari for a while, we would need to continue to support it for a while.  

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 13 October 2021 16:21:14 UTC