Skip to content

Commit b1783ec

Browse files
committed
[css-color-4] Fix #1534
1 parent ae661af commit b1783ec

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

css-color-4/Overview.bs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,20 +1808,25 @@ Profiled, Device-dependent Colors</h2>
18081808

18091809
<div class='example'>
18101810
This example specifies four profiled colors:
1811-
for a standard CMYK press,
1811+
for a standard SWOP-coated CMYK press,
18121812
for a wide-gamut seven-ink printer,
18131813
for ProPhoto RGB,
1814-
and for the P3 standard RGB space.
1814+
and for the image-p3 standard RGB space.
1815+
In each case, the numerical parameters
1816+
are in the range 0.0 to 1.0
1817+
(rather than, for example, 0 to 255).
18151818
<!-- add examples with alpha, and with fallback -->
18161819
<pre>
1817-
color: color(swopc 0 206 190 77);
1818-
color: color(indigo 24 160 86 42 0 18 31);
1819-
color: color(prophoto 233 150 122);
1820-
color: color(p3 97 253 36);
1820+
color: color(swopc 0.0134 0.8078 0.7451 0.3019);
1821+
color: color(indigo 0.0941 0.6274 0.3372 0.1647 0 0.0706 0.1216);
1822+
color: color(prophoto 0.9137 0.5882 0.4784);
1823+
color: color(image-p3 0.3804 0.9921 0.1412);
18211824
</pre>
18221825

1823-
All but the predefined colorspace example also need a matching ''@color-profile'' at-rule somewhere
1824-
in the stylesheet, to connect the name with the profile data.
1826+
All but the predefined colorspace example
1827+
also need a matching ''@color-profile'' at-rule
1828+
somewhere in the stylesheet,
1829+
to connect the name with the profile data.
18251830

18261831
<pre>
18271832
@color-profile swopc {

0 commit comments

Comments
 (0)