@@ -1808,20 +1808,25 @@ Profiled, Device-dependent Colors</h2>
1808
1808
1809
1809
<div class='example'>
1810
1810
This example specifies four profiled colors:
1811
- for a standard CMYK press,
1811
+ for a standard SWOP-coated CMYK press,
1812
1812
for a wide-gamut seven-ink printer,
1813
1813
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).
1815
1818
<!-- add examples with alpha, and with fallback -->
1816
1819
<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 );
1821
1824
</pre>
1822
1825
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.
1825
1830
1826
1831
<pre>
1827
1832
@color-profile swopc {
0 commit comments