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

Looks up color name for the given character color code. Codes are case-insensitive. Both standard (0-F) and fCraft-specific (H, I, M, P, R, S, W, and Y) color codes are accepted. Assigned (standard) colors are substituted for fCraft-specific color codes.

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

Syntax

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

Parameters

code
Char
Color code character.

Return Value

Lowercase color name if input code was recognized; otherwise null.

See Also