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​

For control authors, use HsvColor instead to avoid loss of precision and color drifting.

See Also​

Reference​

ColorSpectrum Class
Avalonia.Controls.Primitives Namespace