parse
public static int parse(java.lang.String colorString)
Parse the color string, and return the corresponding color-int.
If the string cannot be parsed, throws an IllegalArgumentException
exception. Supported formats are:
#RGB ~ #RRGGBB
#ARGB ~ #AARRGGBB
#RRGGBB
#AARRGGBB
or one of the following names:
'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta',
'yellow', 'lightgray', 'darkgray', 'grey', 'lightgrey', 'darkgrey',
'aqua', 'fuchsia', 'lime', 'maroon', 'navy', 'olive', 'purple',
'silver', 'teal'.