@@ -1803,7 +1803,7 @@ Profiled, Device-dependent Colors</h2>
18031803 or an RGB colorspace (such as ProPhoto <!-- ref -->, <!-- would be good to mention AdobeRGB 1998 here too, need to check trademark and copyright status first --> widely used by photographers), or any other color or monochrome output device which has been characterized.
18041804 In addition, for convenience,
18051805 CSS provides several <!-- more than 2 now, update text!! --> -->predefined RGB color spaces:
1806- image -p3 [[!DCI-P3]] ,
1806+ display -p3 [[!DCI-P3]] ,
18071807 which is a wide gamut space typical of current wide-gamut monitors,
18081808 and Rec. 2020 [[!Rec.2020]] ,
18091809 which is a ultra-wide gamut space capable of representing almost all visible real-world colors.
@@ -1815,7 +1815,7 @@ Profiled, Device-dependent Colors</h2>
18151815 for a standard SWOP-coated CMYK press,
18161816 for a wide-gamut seven-ink printer,
18171817 for ProPhoto RGB,
1818- and for the image -p3 standard RGB space.
1818+ and for the display -p3 standard RGB space.
18191819 In each case, the numerical parameters
18201820 are in the range 0.0 to 1.0
18211821 (rather than, for example, 0 to 255).
@@ -1824,7 +1824,7 @@ Profiled, Device-dependent Colors</h2>
18241824 color: color(swopc 0.0134 0.8078 0.7451 0.3019);
18251825 color: color(indigo 0.0941 0.6274 0.3372 0.1647 0 0.0706 0.1216);
18261826 color: color(prophoto 0.9137 0.5882 0.4784);
1827- color: color(image -p3 0.3804 0.9921 0.1412);
1827+ color: color(display -p3 0.3804 0.9921 0.1412);
18281828 </pre>
18291829
18301830 All but the predefined colorspace example
@@ -1862,7 +1862,7 @@ Profiled, Device-dependent Colors</h2>
18621862
18631863 * An optional <<ident>> denoting the colorspace.
18641864 This can be one of the predefined colorspaces
1865- (such as ''image -p3'' ),
1865+ (such as ''display -p3'' ),
18661866 or one defined by a ''@color-profile'' rule.
18671867 If omitted, it defaults to the predefined ''srgb'' color profile.
18681868
@@ -1910,7 +1910,7 @@ Profiled, Device-dependent Colors</h2>
19101910 ''color()'' represents <a>opaque black</a> .
19111911
19121912<h3 id="predefined">
1913- Predefined colorspaces: ''srgb'', ''image -p3'', ''a98rgb'', ''prophotorgb'' and ''rec2020''.</h3>
1913+ Predefined colorspaces: ''srgb'', ''display -p3'', ''a98rgb'', ''prophotorgb'' and ''rec2020''.</h3>
19141914
19151915 The following colorspaces are predefined for use in the ''color()'' function.
19161916 They can be used without any ''@color-profile'' rule.
@@ -1954,9 +1954,9 @@ Predefined colorspaces: ''srgb'', ''image-p3'', ''a98rgb'', ''prophotorgb'' and
19541954 </pre>
19551955 C is the red, green or blue component.
19561956
1957- <dt> <dfn>image -p3</dfn>
1957+ <dt> <dfn>display -p3</dfn>
19581958 <dd>
1959- The ''image -p3'' colorspace accepts three numeric parameters,
1959+ The ''display -p3'' colorspace accepts three numeric parameters,
19601960 representing the red, green, and blue channels of the color,
19611961 with each having a valid range of [0, 1] .
19621962 It uses the same primary chromaticities as [[!DCI-P3]] ,
@@ -2075,7 +2075,7 @@ Converting predefined colorspaces to Lab</h4>
20752075 <ol>
20762076 <li> Convert from gamma-corrected RGB to linear-light RGB (undo gamma encoding)
20772077 <li> Convert from linear RGB to CIE XYZ
2078- <li> Convert from a D65 whitepoint (used by both image -p3 and rec2020) to the D50 whitepoint used in Lab,
2078+ <li> Convert from a D65 whitepoint (used by both display -p3 and rec2020) to the D50 whitepoint used in Lab,
20792079 with the Bradford transform
20802080 <li> Convert D50-adapted XYZ to Lab
20812081 </ol>
@@ -2084,7 +2084,7 @@ Converting predefined colorspaces to Lab</h4>
20842084<h4 id="lab-to-predefined">
20852085Converting Lab to predefined colorspaces</h4>
20862086
2087- Conversion from Lab to image -p3 or rec2020 also requires multiple steps,
2087+ Conversion from Lab to display -p3 or rec2020 also requires multiple steps,
20882088 and again in practice all but the last step are linear calculations and can be combined.
20892089
20902090 <ol>
@@ -2113,7 +2113,7 @@ Specifying a color profile: the ''@color-profile'' at-rule</h3>
21132113
21142114 The <<custom-ident>> gives the <a>color profile's</a> name.
21152115 All of the predefined colorspace keywords
2116- (''srgb'' , ''image -p3'' , ''a98rgb'' , ''prophotorgb'' , ''rec2020'' )
2116+ (''srgb'' , ''display -p3'' , ''a98rgb'' , ''prophotorgb'' , ''rec2020'' )
21172117 are excluded from this <<custom-ident>> ,
21182118 as they're predefined by this specification and always available.
21192119
@@ -2473,21 +2473,21 @@ Default Style Rules</h2>
24732473
24742474
24752475 function lin_P3(RGB) {
2476- // convert an array of image -p3 RGB values in the range 0.0 - 1.0
2476+ // convert an array of display -p3 RGB values in the range 0.0 - 1.0
24772477 // to linear light (un-companded) form.
24782478
24792479 return lin_sRGB(RGB); // same as sRGB
24802480 }
24812481
24822482 function gam_P3(RGB) {
2483- // convert an array of linear-light image -p3 RGB in the range 0.0-1.0
2483+ // convert an array of linear-light display -p3 RGB in the range 0.0-1.0
24842484 // to gamma corrected form
24852485
24862486 return gam_sRGB(RGB); // same as sRGB
24872487 }
24882488
24892489 function lin_P3_to_XYZ(rgb) {
2490- // convert an array of linear-light image -p3 values to CIE XYZ
2490+ // convert an array of linear-light display -p3 values to CIE XYZ
24912491 // using D65 (no chromatic adaptation)
24922492 // http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
24932493 var M = math.matrix([
@@ -2896,8 +2896,8 @@ Changes</h2>
28962896 <li> Clarify allowed range of L in LCH and Lab, and meaning of L=100</li>
28972897 <li> Update references for colorspaces used in video</li>
28982898 <li> Add ProPhotoRGB predefined colorspace</li>
2899- <li> Correct black and white luminance levels for image -p3</li>
2900- <li> Clarify image -p3 transfer function</li>
2899+ <li> Correct black and white luminance levels for display -p3</li>
2900+ <li> Clarify display -p3 transfer function</li>
29012901 <li> Add a98rgb colorspace</li>
29022902 <li> Clarify that currentColor's computed value is not the resolved color</li>
29032903 <li> Update syntax is examples to conform to latest specification</li>
@@ -2911,7 +2911,7 @@ Changes</h2>
29112911 <li> Simplify conversion from device-cmyk to sRGB</li>
29122912 <li> Describe previous, comma-using color syntaxes as "legacy"; change examples to commaless form</li>
29132913 <li> Remove superfluous requirement that displayed colors be restricted to device gamut (like there was any other option!)</li>
2914- <li> Rename P3 to image -p3; avoid claiming this is DCI P3, as these are not the same</li>
2914+ <li> Rename P3 to display -p3; avoid claiming this is DCI P3, as these are not the same</li>
29152915 <li> Improved description of the parameters to the "color()" function</li>
29162916 <li> Disallow predefined spaces from "@color-profile" identifier</li>
29172917 <li> Add canonical order to "color", "color-adjust" and "opacity" property definitions</li>
0 commit comments