Skip to main content

H Property

Gets 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.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double H { get; }
View Source

Property Value

Double

Remarks

    0/360 degrees is Red.60 degrees is Yellow.120 degrees is Green.180 degrees is Cyan.240 degrees is Blue.300 degrees is Magenta.

See Also

Reference

HslColor Structure
Avalonia.Media Namespace