COLORS



There would be an applet here if your browser supported Java.


Have you ever seen a color on a computer screen and wondered how to recreate that color? This program allows you to investigate several properties of colors.

The display is layed out in three panels. Part one, the one on the far left is a color wheel. It's parameters are hue, radius and saturation. Hue is the angle around the circle with zero being at the far right side of the circle. The angle increases in a clockwise motion. The radius of the circle is a function of brightness. The white line represents the radius and the hue. Color saturation is controlled by the saturation parameter on the right side. A new color circle is drawn for each value of saturation.

The color displayed in the center panel is the same as the color located at the end of the white line on the color circle.

On the far right side, you see six boxes with numbers in them. The numbers in the boxes are all related to each other. The top three boxes are the red, green, and blue components. The bottom three boxes are hue, saturation, and brightness of the color. Any value or values can be changed in the boxes. There are certain limits on the valid values.

LIMITS

The values in the top three boxes must be between 0 and 255. The value of hue, the fourth box down from the top must be between 0 and 360, and the last two boxes must be between 0 and 100. The color circle is capable of displaying 1,000,000 different colors while the center box is capable of displaying over 16 million colors.


Return Home

Return Java Page
Revised: Sunday, January 02, 2000