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

The Color type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
GetName(Char)
Gets color name for hex color code.
GetName(Int32)
Gets color name for a numeric color code.
GetName(String)
Gets color name for a string representation of a color.
IsValidColorCode(Char)
Checks whether a color code is valid (checks if it's hexadecimal char).
Parse(Char)
Parses a string to a format readable by Minecraft clients. an accept color names and color codes (with or without the ampersand).
Parse(Int32)
Parses a numeric color code to a string readable by Minecraft clients
Parse(String)
Parses a string to a format readable by Minecraft clients. an accept color names and color codes (with or without the ampersand).
ParseToIndex(String)
ReplacePercentCodes(String)
ReplacePercentCodes(StringBuilder)
StripColors(String)
Strips all ampersand color codes and doubled-up ampersands.
SubstituteSpecialColors(String)
ToIRCColorCodes(String)

See Also