Skip to content

Commit

Permalink
[css-color-4] Add XYZ examples for white (D65 has Z greater than 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Jun 20, 2024
1 parent cbb8bd6 commit 8162ace
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4328,6 +4328,16 @@ The Predefined CIE XYZ Color Spaces: the ''xyz-d50'', ''xyz-d65'', and ''xyz'' k
</pre>
</div>

<div class="example" id="ex-xyz-white">
These colors are exactly equivalent, and represent white:

<pre class="lang-css">
<span class="swatch" style="--color: #FFFFFF"></span> #FFFFFF
<span class="swatch" style="--color: ##FFFFFF"></span> color(xyz-d50 0.9643 1 0.8251)
<span class="swatch" style="--color: ##FFFFFF"></span> color(xyz-d65 0.9505 1 1.089)
</pre>
</div>

</dl>
<wpt>
predefined-016.html
Expand Down

0 comments on commit 8162ace

Please sign in to comment.