. Write a java program to accept a number from the user and print the corresponding colour of the (RGB) for example, 1=Red , 2= Green, 3= Blue.
Answers
Answered by
2
Answer:
The RGBColorChooser applet lets the user set the red, green, and ... getBlue () return the blue and green components. ... The red level of the color, for example, is redScroll.
Explanation:This java example shows how to get Red, Green, and Blue (RGB) components from color using Java AWT Color class. ... Create Custom Color Using RGB Example.
Similar questions