@@ -603,7 +603,24 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
603
603
on a display with HDR headroom 1:
604
604
605
605
X = 243.664, Y = 275.713, Z = 244.000
606
+ </div>
607
+
608
+ Colors are interpolated in <dfn export>Absolute D65 CIE XYZ</dfn> .
609
+
610
+ This is derived from ''xyz-d65''
611
+ by multiplying each color component by 203 [[Rpt_BT.2408]]
612
+ to convert from relative units (Y of white is 1, regardless of actual brightness)
613
+ to absolute units of cd/m², also clled "nits".
614
+ In the <a href="color-conversion-code">sample code</a> ,
615
+ this constant is denoted <var ignore=''> Yw</var> ,
616
+ the luminance of HDR Reference White.
617
+
618
+ <div class="example" id="ex-rel-to-abs">
619
+ For example, the css color ''white'' is
620
+ <pre class="lang-css"> color(xyz-d65 0.9505 1 1.089)</pre>
606
621
622
+ In absolute D65 XYX this is
623
+ [192.9426, 203, 221.0787]
607
624
</div>
608
625
609
626
<h3 id="headroom-interpolation">
@@ -615,8 +632,8 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
615
632
giving result color <var> cxyz</var> ,
616
633
when the target headroom is <var> H</var> :
617
634
618
- 1. Let <var> c1xyz</var> be <var> c1</var> converted to Absolute D65 CIE XYZ
619
- 2. Let <var> c2xyz</var> be <var> c2</var> converted to Absolute D65 CIE XYZ
635
+ 1. Let <var> c1xyz</var> be <var> c1</var> converted to [= Absolute D65 CIE XYZ=]
636
+ 2. Let <var> c2xyz</var> be <var> c2</var> converted to [= Absolute D65 CIE XYZ=]
620
637
3. Let <var> w1</var> = clamp((<var> H</var> - <var> H2</var> ) / (<var> H1</var> - <var> H2</var> ), 0, 1)
621
638
4. Let <var> w2</var> = clamp((<var> H</var> - <var> H1</var> ) / (<var> H2</var> - <var> H1</var> ), 0, 1)
622
639
Note that <var> w2</var> = 1 - <var> w1</var>
0 commit comments