Here is how you can use hex colors in Java.
You can find a list of colors with their hex value here.
// Hex to color
int intValue = Integer.parseInt( "ff0000",16);
Color aColor = new Color( intValue );
// Color to hex
String hexStr = Integer.toHexString( aColor.getRGB() );



