CSS4 - Specifying profiled colors: the color() function #3134

Open
Schweinepriester opened this Issue Jan 24, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@Schweinepriester
Contributor

Schweinepriester commented Jan 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment