Skip to content

Commit be79756

Browse files
committed
[css-color-4] define predefined RGB space interconversion
1 parent 9bfab91 commit be79756

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-color-4/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3675,7 +3675,7 @@ Converting Lab to predefined color spaces</h4>
36753675

36763676
Conversion from one predefined RGB colorspace to another
36773677
requires multiple steps,
3678-
one of which is only used when the whitepoints differ.
3678+
one of which is only needed when the whitepoints differ.
36793679
To convert from <em>src</em> to <em>dest</em>:
36803680

36813681
<ol>
@@ -3689,6 +3689,9 @@ Converting Lab to predefined color spaces</h4>
36893689
<li>Convert from linear-light <em>dest</em>RGB to <em>dest</em>RGB (do gamma encoding)
36903690
</ol>
36913691

3692+
There is sample JavaScript code for this conversion
3693+
for the predefined RGB color spaces, in [[#color-conversion-code]].
3694+
36923695
<h3 id="at-profile">
36933696
Specifying a color profile: the ''@color-profile'' at-rule</h3>
36943697

0 commit comments

Comments
 (0)