Skip to content

Commit 8162ace

Browse files
committed
[css-color-4] Add XYZ examples for white (D65 has Z greater than 1)
1 parent cbb8bd6 commit 8162ace

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

css-color-4/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4328,6 +4328,16 @@ The Predefined CIE XYZ Color Spaces: the ''xyz-d50'', ''xyz-d65'', and ''xyz'' k
43284328
</pre>
43294329
</div>
43304330

4331+
<div class="example" id="ex-xyz-white">
4332+
These colors are exactly equivalent, and represent white:
4333+
4334+
<pre class="lang-css">
4335+
<span class="swatch" style="--color: #FFFFFF"></span> #FFFFFF
4336+
<span class="swatch" style="--color: ##FFFFFF"></span> color(xyz-d50 0.9643 1 0.8251)
4337+
<span class="swatch" style="--color: ##FFFFFF"></span> color(xyz-d65 0.9505 1 1.089)
4338+
</pre>
4339+
</div>
4340+
43314341
</dl>
43324342
<wpt>
43334343
predefined-016.html

0 commit comments

Comments
 (0)