[This is preliminary documentation and is subject to change.]

Looks up color name for the given color string. Accepts any input format that is recognized by Color.Parse(String).

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
[CanBeNullAttribute]
[PureAttribute]
public static string GetName(
	string color
)

Parameters

color
String
String representation of a color, empty string, or null.

Return Value

Lowercase color name. If input is an empty string, returns an empty string. If input is null or cannot be parsed, returns null.

See Also