Converts the color to the linear AHSB model, with alpha [0, 1], Hue [0, 1], Saturation [0, 1] and Brightness [0, 1].
Namespace: Altaxo.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic (float alpha, float hue, float saturation, float brightness) ToAhsb()
Return Value
ValueTupleSingle,
Single,
Single,
SingleThe alpha, hue, saturation, and brightness values.
Exceptions| Exception | Condition |
|---|
| InvalidProgramException | Thrown when the color cannot be converted to the AHSB model because an unexpected RGB state was encountered. |
See Also