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

Gets color name for a string representation of a color.

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

Syntax

   
 C# 
public static string GetName(
	string color
)

Parameters

color
String
Any parsable string representation of a color.

Return Value

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

See Also