Gets a mapping of colors to names, as defined in the WPF Colors class.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: (


public static Dictionary<Color, string> ColorNames { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property ColorNames As Dictionary(Of Color, String)


In rare cases a color value may have multiple names (e.g. Cyan and Aqua). In such cases, the ColorNames dictionary will contain only one of these names; which name is chosen is not defined.

See Also