aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::Saturation< Space > Struct Template Referenceexport

Reads and replaces the saturation of a color space: how far a color is from the gray of its lightness. More...

Detailed Description

template<ColorType Space>
struct aest::colors::Saturation< Space >

Reads and replaces the saturation of a color space: how far a color is from the gray of its lightness.

Specialize it for a color space to make it a SaturationSpace, usable with saturate(), desaturate() and grayscale(). A static MAX, the saturation of the most colorful color, makes it a BoundedSaturationSpace, which saturate() moves toward that maximum; without one, saturate() scales.

Template Parameters
SpaceThe color space.

Definition at line 368 of file Operations.cppm.


The documentation for this struct was generated from the following file: