Issue (question?) with "color()": "name of a color defined by a colorspace" #12209
Labels
Content:CSS
Cascading Style Sheets docs
effort: small
This task is a small effort.
help wanted
If you know something about this topic, we would love your help!
MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color()
What information was incorrect, unhelpful, or incomplete?
The document states that you can pass:
<string>
Am I missing something, are there colorspaces that have colors defined as strings similar to how
currentColor
is predefined, or is this page incorrect?Specific section or headline?
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color()#values
What did you expect to see?
It would be nice to have an example
<string>
defined by any colorspace.Did you test this? If so, how?
I tested a few options of what I would expect to possibly work in the latest version of Safari on MacOS.
background: color(display-p3 1 0.5 0);
- Worksbackground: color(srgb orange);
- does not workMDN Content page report details
en-us/web/css/color_value/color()
The text was updated successfully, but these errors were encountered: