1 | In Java, a Color object is represented in RGB format (R = Red, G = Green, B = Blue) |
2 | Each color component (R, G, or B) is an integer between 0 and 255, inclusive |
3 | For example: Color red = new Color( 255, 0, 0 ); Color black = new Color( 0, 0, 0 ); Color white = new Color( 255, 255, 255 ); |