[This is preliminary documentation and is subject to change.]
Converts the given character color code into standard representation (ampersand-color-code).
Accepts 2-character ampersand color codes, single character codes, and color names.
Does not accept 2-character percent-codes. All input is 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: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[PureAttribute] [CanBeNullAttribute] public static string Parse( string color )
Parameters
- color
- String
String representation of a color, empty string, or null.