|
aest 0.1.0
Collection of C++ utility libraries
|
Reads and replaces the lightness of a color space. More...
Reads and replaces the lightness of a color space.
Specialize it for a color space to make it a LightnessSpace, usable with lighten() and darken(). set receives the lightness of the end the color moves toward, 1 for white and 0 for black, so a space whose colorfulness does not vanish at those ends on its own, such as OKLCH, can shrink it on the way and reach exactly white or black.
| Space | The color space. |
Definition at line 72 of file Operations.cppm.