ColorHelper.

GetColorName(Color?) Method

Summary

Searches for the localized name of a given color by using the default ColorNamesDictionary
Namespace
MahApps.Metro.Controls
Containing Type
ColorHelper

Syntax

public static string GetColorName(Color? color)

Parameters

Name Type Description
color Color? color

Return Value

Type Description
string the local color name or null if the given color doesn't have a name