@@ -1165,7 +1165,7 @@ HWB Colors: ''hwb()'' function</h2>
11651165 <img src="images/color-picker.png">
11661166 <figcaption>
11671167 This is a screenshot of Chrome's color picker,
1168- shown when a user activates an <code class='lang-markup'> <input type=' color' ></code> .
1168+ shown when a user activates an <code class='lang-markup'> <input type=" color" ></code> .
11691169 The outer wheel is used to select the hue,
11701170 then the relative amounts of white and black are selected by clicking on the inner triangle.
11711171 </figcaption>
@@ -1494,7 +1494,7 @@ Specifying Grays: the ''gray()'' functional notation</h2>
14941494 could actually compute the gray with the specified luminance.
14951495 The sRGB power curve means that grays are much darker than they "should" be;
14961496 50% gray has a luminance of .21, for example, rather than .5.
1497-
1497+
14981498 Reversing luminance to color is easy for grays:
14991499 if L < .0774, <code> x * 12.92</code> ;
15001500 otherwise, <code> (x ^ (5/12)) * 1.055 - .055</code> .
@@ -1516,36 +1516,36 @@ Specifying Grays: the ''gray()'' functional notation</h2>
15161516Device-independent Colors: Lab and LCH</h2>
15171517
15181518 Physical measurements of a color are typically expressed in a color
1519- space created in 1976 by the <abbr title='Commission Internationale
1519+ space created in 1976 by the <abbr title='Commission Internationale
15201520 de l'Eclairage'> CIE</abbr> , Lab. Color conversions from one device
1521- to another also use Lab as an intermediate step. Derived from
1522- human vision experiments, Lab represents the entire range of
1521+ to another also use Lab as an intermediate step. Derived from
1522+ human vision experiments, Lab represents the entire range of
15231523 color that humans can see.
15241524
1525- <!-- Simplify by saying Lab throughout rather than CIELab or
1525+ <!-- Simplify by saying Lab throughout rather than CIELab or
15261526 CIE L*a*b*, because that is what people write in practice -->
1527- Lab is a rectangular coordinate system with a central Lightness axis.
1527+ Lab is a rectangular coordinate system with a central Lightness axis.
15281528 L=0 is deep black (no light at all) while L=100 is white (with a color
1529- temperature of 5000K). Usefully, L=50 is mid gray, by design: the
1529+ temperature of 5000K). Usefully, L=50 is mid gray, by design: the
15301530 Lab color space is intended to be <em> perceptually uniform</em> .
15311531 The a and b axes convey hue; positive values along the a axis are red
15321532 while negative values are the complementary color, green. Similarly
1533- positive values along the b axis are yellow and negative are the
1534- complementary blue/violet. Desaturated colors have small values
1535- of a and b and are close to the L axis; saturated colors lie far from
1533+ positive values along the b axis are yellow and negative are the
1534+ complementary blue/violet. Desaturated colors have small values
1535+ of a and b and are close to the L axis; saturated colors lie far from
15361536 the L axis.
15371537
15381538 <!-- because Luv is not widely used nowadays, no need to say LCH(ab)
15391539 to distinguish from LCH(uv) -->
15401540 LCH has the same L axis as Lab, but uses polar coordinates C (chroma)
1541- and H (hue). C is the geometric distance from the L axis and H
1541+ and H (hue). C is the geometric distance from the L axis and H
15421542 is the angle, in degrees, from the positive a axis.
15431543
15441544 <p class='note'>
15451545 The Lightness axis in Lab should not be confused with the L axis in HSL.
15461546 For example, in HSL, the sRGB colors blue (#00F) and yellow (#FF0)
15471547 have the same value of L even though visually, blue is much darker. In
1548- Lab, if two colors have the same measured L value, they have
1548+ Lab, if two colors have the same measured L value, they have
15491549 identical visual lightness. HSL and related polar RGB models were
15501550 developed to give similar usability benefits for RGB that LCH gave
15511551 to Lab.</p>
0 commit comments