@@ -58,6 +58,7 @@ Abstract: This module explores additions to CSS Color 4 to enable High Dynamic R
58
58
}
59
59
}
60
60
</pre>
61
+ <link rel="stylesheet" href="style.css" />
61
62
62
63
Introduction {#intro}
63
64
=====================
@@ -149,7 +150,7 @@ Predefined colorspaces for HDR: {#predefined-HDR}
149
150
Content is typically mastered with a lower peak white,
150
151
such as 4,000 cd/m².
151
152
<pre>
152
- color(rec2100-pq 1.0 1.0 1.0);
153
+ <span class="swatch oog" style="--color: white"></span> color(rec2100-pq 1.0 1.0 1.0);
153
154
</pre>
154
155
</div>
155
156
@@ -161,13 +162,13 @@ Predefined colorspaces for HDR: {#predefined-HDR}
161
162
on any sized area of the screen.
162
163
Diffuse white is 140 cd/m².
163
164
<pre>
164
- color(rec2100-pq 0.54 0.54 0.54);
165
+ <span class="swatch" style="--color: white"></span> color(rec2100-pq 0.54 0.54 0.54);
165
166
</pre>
166
167
This color represents a mid grey,
167
168
like a photographer's "18% reflectance grey" card,
168
169
at 17 cd/m².
169
170
<pre>
170
- color(rec2100-pq 0.34 0.34 0.34);
171
+ <span class="swatch" style="--color: rgb(46.632% 46.632% 46.632%)"></span> color(rec2100-pq 0.34 0.34 0.34);
171
172
</pre>
172
173
</div>
173
174
@@ -253,12 +254,12 @@ Predefined colorspaces for HDR: {#predefined-HDR}
253
254
of 1,000 to 4,000 cd/m²,
254
255
so diffuse white will be 203 to 581 cd/m².
255
256
<pre>
256
- color(rec2100-hlg 0.75 0.75 0.75);
257
+ <span class="swatch" style="--color: white"></span> color(rec2100-hlg 0.75 0.75 0.75);
257
258
</pre>
258
259
This color represents a mid grey,
259
260
at 26 to 104 cd/m².
260
261
<pre>
261
- color(rec2100-hlg 0.38 0.38 0.38);
262
+ <span class="swatch" style="--color: rgb(46.632% 46.632% 46.632%)"></span> color(rec2100-hlg 0.38 0.38 0.38);
262
263
</pre>
263
264
</div>
264
265
0 commit comments