|
aest 0.1.0
Collection of C++ utility libraries
|
Saturation of OKLCH: its chroma, which has no maximum, so saturate() scales it. More...
Static Public Member Functions | |
| static constexpr float | get (const OKLCH &color) noexcept |
Get the chroma of color. | |
| static constexpr OKLCH | set (const OKLCH &color, const float chroma) |
Copy color with a new chroma. | |
Saturation of OKLCH: its chroma, which has no maximum, so saturate() scales it.
Definition at line 982 of file Operations.cppm.
|
inlinestaticconstexprnoexcept |
Get the chroma of color.
| [in] | color | The color to read |
Definition at line 989 of file Operations.cppm.
|
inlinestaticconstexpr |
Copy color with a new chroma.
| [in] | color | The color to copy |
| [in] | chroma | The new chroma |
Definition at line 997 of file Operations.cppm.