@@ -1316,7 +1316,9 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
13161316 while ''100%'' is white and ''0%'' is black.
13171317 If the saturation or lightness are less than ''0%''
13181318 or greater than ''100%'' ,
1319- they are clamped to those values before being converted to an RGB color.
1319+ they are clamped to those values
1320+ at computed value time,
1321+ before being converted to an sRGB color.
13201322
13211323 The final argument specifies the alpha channel of the color.
13221324 It's interpreted identically to the fourth argument of the ''rgb()'' function.
@@ -1852,9 +1854,11 @@ HWB Colors: ''hwb()'' function</h2>
18521854 as a percentage from ''0%'' (no whiteness) to ''100%'' (full whiteness).
18531855 Similarly, the third argument specifies the amount of black to mix in,
18541856 also from ''0%'' (no blackness) to ''100%'' (full blackness).
1855- Values outside of these ranges make the function invalid.
1857+ Values outside of these ranges
1858+ are not invalid,
1859+ but are clamped to the ranges defined here at computed-value time.
18561860 If the sum of these two arguments is greater than 100%,
1857- then at computed-value time they are normalized to add up to 100%,
1861+ then at computed-value time they are further normalized to add up to 100%,
18581862 with the same relative ratio.
18591863
18601864 The fourth argument specifies the alpha channel of the color.
@@ -2176,7 +2180,7 @@ Device-independent Colors: Lab and LCH</h2>
21762180 L=0% is deep black (no light at all)
21772181 while L=100% is a diffuse white
21782182
2179- Values greater than 100 would correspond to specular highlights,
2183+ Values of L greater than 100 would correspond to specular highlights,
21802184 but their precise color is undefined in this specification.
21812185 Usefully, L=50% is mid gray, by design,
21822186 and equal increments in L are evenly spaced visually:
@@ -2200,6 +2204,7 @@ Device-independent Colors: Lab and LCH</h2>
22002204 and are close to the L axis;
22012205 saturated colors lie far from the L axis.
22022206
2207+
22032208 <!-- diagram here -->
22042209
22052210 The illuminant is D50 white, a standardized daylight spectrum with a color temperature of 5000K,
@@ -2234,10 +2239,6 @@ Device-independent Colors: Lab and LCH</h2>
22342239 </figcaption>
22352240 </figure>
22362241
2237- In Lab and LCH, if two colors have the same L value,
2238- they appear to have the same visual lightness--
2239- regardless of how different their hues are.
2240-
22412242 <!-- because Luv is not widely used nowadays, no need to say LCH(ab)
22422243 to distinguish from LCH(uv) -->
22432244
@@ -2248,7 +2249,7 @@ Device-independent Colors: Lab and LCH</h2>
22482249 sRGB blue is lab(29.567% 68.298,-112.0294)
22492250 while
22502251 sRGB yellow is lab(97.607% -15.753 93.388).
2251- In Lab, if two colors have the same measured L value,
2252+ In Lab and LCH , if two colors have the same measured L value,
22522253 they have identical visual lightness.
22532254 HSL and related polar RGB models were developed
22542255 in an attempt
@@ -2286,7 +2287,7 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
22862287 ''100%'' are permitted (for forwards compatibility with High Dynamic Range (HDR),
22872288 and must not be clamped.
22882289
2289- The second and third arguments are the distances along the "a" and "b" axises
2290+ The second and third arguments are the distances along the "a" and "b" axes
22902291 in the Lab colorspace,
22912292 as described in the previous section.
22922293 These values are signed
0 commit comments