Struct SRgbChromaLimit
Holds a maximum directly representable OKLCH chroma measurement for sRGB.
struct SRgbChromaLimit(T)
if (is(T == float) || is(T == double));
A valid value is the in-gamut side of a fixed-lightness/fixed-hue numerical boundary search. The measurement is not a gamut-mapping operation: it does not modify a color and does not choose a perceptual mapping policy.
Invalid input produces an invalid measurement whose value is NaN. Validated values are created only by maxChromaInSRgb.
T must be float or double.
Properties
| Name | Type | Description |
|---|---|---|
valid[get]
|
bool | Whether the measurement input was valid and a boundary was established. |
value[get]
|
T | Maximum validated OKLCH chroma for the measured fixed-L/fixed-h ray. |