someObject.setBackground(someColor);
java.awt.Color
.
setBackground(Color.RED);
Color red = new Color(255,0,0);
setBackground(red);
Color red = new Color(255,0,0,255);
new Color (255,0,0) // Red
new Color (0,255,0) // Green
new Color (0,0,255) // Blue
new Color (0,0,0) // Black
new Color (127,127,127) // Medium grey
new Color (255,255,255) // White
int r = ourColor.getRed();
int g = ourColor.getGreen();
int b = ourColor.getBlue();