Skip to content

Commit c546595

Browse files
committed
[css-color] add note explaining a reasonable range for C in lch() to the
spec
1 parent c031bee commit c546595

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

css-color/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ The RGB functions: ''rgb()'' and ''rgba()''</h3>
195195
For this reason, values outside of the 0%-100% range are allowed,
196196
but are clamped to the device's gamut.)
197197

198+
<p class="issue">The transfer function is undefined outside the range 0% to 100%.</p>
199+
200+
198201
The final argument, the <<alpha-value>>, specifies the alpha of the color.
199202
If given as a <<number>>, the useful range of the value is ''0''
200203
(representing a fully transparent color)
@@ -1709,8 +1712,8 @@ The identifier is either one of the predefined spaces
17091712
<p class="issue">Further define a fallback color, as decided at San Francisco.
17101713
Can be an sRGB fallback or indeed another color() function.</p>
17111714

1712-
<p class="issue">Need to add choice of quoted string or number+, to allow f
1713-
or named color profiles.</p>
1715+
<p class="issue">Need to add choice of quoted string or number+, to allow
1716+
for named color profiles.</p>
17141717

17151718
<h3 id="predefined">Predefined colorspaces: DCI P3 and Rec.2020.</h3>
17161719

@@ -1733,6 +1736,9 @@ The DCI P3 [[!DCI-P3]] colorspace has the following characteristics:
17331736
(particularly for the transfer function and viewing conditions).
17341737
</p>
17351738

1739+
<p class="issue">DCI transfer function is gamma 1/2.6 while Apple P3 displays use gamma 1/2.2.</p>
1740+
1741+
17361742
The ITU Rec.2020 [[!Rec.2020]]
17371743
colorspace has the following characteristics:
17381744

@@ -1766,6 +1772,8 @@ although in practice all but the first step are linear calculations and can be c
17661772
<li>Convert D50-adapted XYZ to Lab
17671773
</ol>
17681774

1775+
<p class="issue">Canvas proposes adding a 16bit half-float linear 2020 space</p>
1776+
17691777
<h4 id="lab-to-predefined">Converting Lab to predefined colorspaces</h4>
17701778

17711779
Conversion from Lab to p3 or rec2020 also requires multiple steps, and again in practice all

0 commit comments

Comments
 (0)