Color Theory Basics: The Color Wheel
What is a Color Wheel?
Color is one of the principle elements of the visual arts. A Color Wheel (color circle) is a visual representation of colors arranged according to their chromatic relationship. It is a tool used in color theory that helps us understand the relationships between individual colors in order to use them well.

Color Theory Basics
Sir Isaac Newton (1642-1726) is better known for the study of Gravity and Calculus, but Newton's Colour Wheel is one of the major reasons you now understand why and how colour works. Modern understanding of light and color begins with Isaac Newton and a series of experiments that he publishes in 1672. In the 1660s, he began a series of experiments with sunlight and prisms known as "celebrated phenomenon of colors". He demonstrated that clear white light was composed of seven visible colors. By scientifically establishing your visible spectrum (the colors you see in a rainbow), Newton laid the path for others to experiment with color in a scientific manner. Finally, he organized his findings in a color wheel showing the three "primary colors" -- red, green, and blue -- separated by the three "secondary colors" -- yellow, cyan, and magenta. Since magenta was a non-spectral color of light, its origins posed a mystery.

This circular diagram became the model for many color systems of the following centuries. The value of the color wheel is its ability to help designers create appealing palettes by applying the underlying theory of the color wheel with the way you see color. For example, a palette based on color wheel complementary colors would include colors that are opposite each other on the color wheel, such as red and green.
Creating a colorwheel using JavaScript
The following source code shows how to use JavaScript to make a color wheel on the web, similar to Apple's circular color picker:
NEXT.....How many hexadecimal color codes are there?