Open svgeesus opened 3 years ago
In the Color input explainer all the examples are restricted to the sRGB gamut.
It would be useful to add an example or two that uses Display P3 for example
ctx.fillStyle = new CSSColor("display-p3", 1, 1, 0, 0.5); // semi-transparent Display P3 primary yellow
Where is this CSSColor interface in the spec? Currently on chrome:
CSSColor
ctx.fillStyle = "color(display-p3 1 1 0 / 0.5)";
Works fine, but CSSColor is not defined.
In the Color input explainer all the examples are restricted to the sRGB gamut.
It would be useful to add an example or two that uses Display P3 for example