List of utility methods to do Color From
int | toColor(boolean val) to Color return (val) ? 0x00ff00 : 0xff0000; |
int | toColor(String hexString) 0xfffff,#ffffff return toColor(toRGB(hexString));
|
String | toColor(String str) to Color return str.replaceAll("(&([a-fk-or0-9]))", "\u00A7$2"); |