CSS4 - Specifying profiled colors: the color() function (original) (raw)

Found no data or issue when searching for this.
Afaik this differs from #2864, which primarily requests color-mod().

This is intended for 'CSS Color Module Level 4' color(), allowing to specify profiled colors.

Spec: https://drafts.csswg.org/css-color/#color-function

Example:

em { color: color(p3 50 250 100); }

Shamelessly stolen from https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_1.html

Safari 10.1 (& TP) / iOS 10.3 support this, apparently.