Skip to main content

Color Property

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

Definition

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

ColorView Class
Avalonia.Controls Namespace