Click or drag to resize

AxoColorToAhsb Method

Converts the color to the linear AHSB model, with alpha [0, 1], Hue [0, 1], Saturation [0, 1] and Brightness [0, 1].

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public (float alpha, float hue, float saturation, float brightness) ToAhsb()

Return Value

ValueTupleSingle, Single, Single, Single
The alpha, hue, saturation, and brightness values.
Exceptions
ExceptionCondition
InvalidProgramExceptionThrown when the color cannot be converted to the AHSB model because an unexpected RGB state was encountered.
See Also