Method Parse
Parse(string)
Parses a Color from a string.
public static Color Parse(string colorString)
Parameters
colorString
stringThe string to parse.
Returns
- Color
The color that the string represents.
Remarks
See TryParse(string, out Color)for a description of the supported color formats.
Exceptions
- FormatException
the string is not in a valid format.