Repeat Exercise P2.7, but apply the darker method twice to the object Color.RED. Call your class DarkerDemo.
Exercise P2.7
In the Java library, a color is specified by its red, green, and blue components between 0 and 255 (see Table 4 on page 61). Write a program BrighterDemo that constructs a Color object with red, green, and blue values of 50, 100, and 150. Then apply the brighter method and print the red, green, and blue values of the resulting color. (You won't actually see the color-see the next exercise on how to display the color.)