Skip to main content

HslColor Properties

Properties

AGets the Alpha (transparency) component in the range from 0..1 (percentage).
HGets the Hue component in the range from 0..360 (degrees). This is the color's location, in degrees, on a color wheel/circle from 0 to 360. Note that 360 is equivalent to 0 and will be adjusted automatically.
LGets the Lightness component in the range from 0..1 (percentage).
SGets the Saturation component in the range from 0..1 (percentage).

See Also

Reference

HslColor Structure
Avalonia.Media Namespace