Skip to main content

Color Property

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

Definition

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

public Color Color { get; set; }

Property Value

Color

Remarks

Use this property instead of HsvColor when in Rgba to avoid loss of precision and color drifting.

See Also

Reference

ColorSlider Class
Avalonia.Controls.Primitives Namespace