227k views
2 votes
In Java library, a color is specified by its red, green,and blue components between 0 and 255. write a program 'BrighterDemo ' that constructs a color object with red, green,and blue values of 50,100, and 150. Then apply the brighter methodand print the red, green, and blue values of the resultingcolor.

B) Repeat question (a), but apply the darker method twice tothe predefined object Color.RED. Call your class DarkerDemo.

1 Answer

7 votes

Answer:

.

Step-by-step explanation:

User Paul Beckingham
by
4.5k points