java.awt.Color : Color « 2D Graphics « Java Tutorial
A Color object represents a color. Color class provides static fields that return a specific Color object: BLACK, BLUE, GREEN, RED, CYAN, ORANGE, YELLOW. For example, to obtain a Color object that represents green, use this code: Color color = Color.GREEN...