Skip to content

Commit a5998e1

Browse files
committed
[css-color-hdr] couple more examples
1 parent d09a0d3 commit a5998e1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

css-color-hdr/Overview.bs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,17 @@ Predefined colorspaces for HDR: {#predefined-HDR}
361361
measured from the positive a<sub>z</sub> axis,
362362
towards the positive b<sub>z</sub> axis.
363363

364+
<div class="example">
365+
This color represents the sRGB color "lime" in ''Jzazbz''
366+
<pre>
367+
<span class="swatch" style="--color: lime"></span> color(jzazbz 0.17542 -0.1179 0.1092);
368+
</pre>
369+
and here is the same color in the polar form
370+
<pre>
371+
<span class="swatch" style="--color: lime"></span> color(jzczhz 0.17542 0.1614 132.50);
372+
</pre>
373+
</div>
374+
364375
<h4 id='Jzazbz-to-JzCzHz'>
365376
Converting ''Jzazbz'' colors to ''JzCzHz'' colors</h4>
366377

@@ -436,6 +447,13 @@ Converting JzCzHz colors to Jzazbz colors</h4>
436447
This makes it suitable for color difference measurement (deltaE ITP)
437448
and for gamut mapping of SDR and HDR colors.
438449

450+
<div class="example">
451+
This color represents the sRGB color "lime" in ''ICtCp''
452+
<pre>
453+
<span class="swatch" style="--color: lime"></span> color(ictcp 0.5393 -0.2643 -0.0625);
454+
</pre>
455+
</div>
456+
439457
Compositing SDR and HDR content {#Compositing-SDR-HDR}
440458
===============================
441459

0 commit comments

Comments
 (0)