Skip to main content

ToDisplayName Method

Determines an approximate display name for the given color.

Definition​

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

public static string ToDisplayName(
Color color
)

Parameters​

  Color
The color to get the display name for.

Return Value​

String
The approximate color display name.

See Also​

Reference​

ColorHelper Class
Avalonia.Controls.Primitives Namespace