Java Utililty Methods Color From

List of utility methods to do Color From

Description

The list of methods to do Color From are organized into topic(s).

Method

inttoColor(boolean val)
to Color
return (val) ? 0x00ff00 : 0xff0000;
inttoColor(String hexString)
0xfffff,#ffffff
return toColor(toRGB(hexString));
StringtoColor(String str)
to Color
return str.replaceAll("(&([a-fk-or0-9]))", "\u00A7$2");