Color
The Color class is used to define and manage the color in which shapes are drawn
Colors are defined by their RGB value, which defines the relative contribution of the primary colors red, green, and blue
Each drawing surface has a foreground color and a background color
The setColor method of the Graphics class defines the foreground color, and the setBackground method of the component (the applet) sets the background color