Caniuse: Add color-mod() | color() function - CSS Color Module Level 4

Created on 6 Oct 2016  路  7Comments  路  Source: Fyrd/caniuse

Support data suggestion

Most helpful comment

While this is still in draft, because polyfill tools are using it, it can be super confusing for developers who aren't a part of tool selection to understand that it's not actually a part of CSS yet. Adding in a caniuse that explains something like this for these really common polyfills is worth a conversation.

All 7 comments

+1

+1

-1
The color-mod section of CSS Color 4 is very draft-ish and likely to be substantially rewritten.

As far as I know no browser's started implementing this yet (possibly because of the spec's state, as mentioned by @svgeesus ), so prefer not to add this until there's signs of implementation.

While this is still in draft, because polyfill tools are using it, it can be super confusing for developers who aren't a part of tool selection to understand that it's not actually a part of CSS yet. Adding in a caniuse that explains something like this for these really common polyfills is worth a conversation.

FYI, there is no more color-mod() function, and color() is for specific colors from color profiles. There is no color modifying options like it was a couple of years before. So, this is no go.

But generally, it's worth to add CSS4 Color Module support like 8-digit hex color, rgb(num num num / alpha), hwb() and so on. Some browser already support it.

Going to go ahead and close this issue since this is no longer part of the specification. Feel free to open new issues for other CSS4 Color Module sections if needed.

Was this page helpful?
0 / 5 - 0 ratings