Skip to main content

HsvColor Property

Gets or sets the currently selected color in the HSV color model.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

public HsvColor HsvColor { get; set; }

Property Value

HsvColor

Remarks

This should be used in all cases instead of the Color property. Internally, the ColorSpectrum uses the HSV color model and using this property will avoid loss of precision and color drifting.

See Also

Reference

ColorSpectrum Class
Avalonia.Controls.Primitives Namespace