diff --git a/color/src/colorspace.rs b/color/src/colorspace.rs index f7d1570..4b81761 100644 --- a/color/src/colorspace.rs +++ b/color/src/colorspace.rs @@ -838,7 +838,7 @@ impl ColorSpace for XyzD65 { /// /// Its components are `[L, a, b]` with /// - `L` - the lightness with a natural bound between 0 and 1, where 0 represents pure black and 1 -/// represents the lightness of white; +/// represents the lightness of white; /// - `a` - how green/red the color is; and /// - `b` - how blue/yellow the color is. /// @@ -941,7 +941,7 @@ fn lch_to_lab([l, c, h]: [f32; 3]) -> [f32; 3] { /// Its components are `[L, C, h]` with /// - `L` - the lightness as in [`Oklab`]; /// - `C` - the chromatic intensity, the natural lower bound of 0 being achromatic, usually not -/// exceeding 0.5; and +/// exceeding 0.5; and /// - `h` - the hue angle in degrees. #[derive(Clone, Copy, Debug)] pub struct Oklch; @@ -989,7 +989,7 @@ impl ColorSpace for Oklch { /// /// Its components are `[L, a, b]` with /// - `L` - the lightness with a natural bound between 0 and 100, where 0 represents pure black and 100 -/// represents the lightness of white; +/// represents the lightness of white; /// - `a` - how green/red the color is; and /// - `b` - how blue/yellow the color is. /// @@ -1094,7 +1094,7 @@ impl ColorSpace for Lab { /// Its components are `[L, C, h]` with /// - `L` - the lightness as in [`Lab`]; /// - `C` - the chromatic intensity, the natural lower bound of 0 being achromatic, usually not -/// exceeding 160; and +/// exceeding 160; and /// - `h` - the hue angle in degrees. /// /// See [`Oklch`] for a similar color space but with better hue linearity.