Skip to main content

HsvColor Property

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

Definition

Namespace: Avalonia.Controls
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

ColorView Class
Avalonia.Controls Namespace