PROJECT #4
RANDOM COLOR PALETTE GENERATOR
This applet uses a nested for loop to create rows and columns of color chips, responds to mouse-clicks to allow the user to specify a color or all colors from which to generate a random color palette. Applet parameters can set a color value ceiling so that the user can control the shades of colors displayed in the palette. The next step would be to display the RGB values of a given chip when the mouse passes over its area.
Example 1: Applet size is 350x425, color value ceiling is 255
Example 2: Applet size is 350x425, color value ceiling is 100
The source code for project #3