Color Wheel


What is this for?
Do you need to color a number of items in a Web page or elsewhere, and you want the colors to be as different as possible for each other? This page can help you.

What does it do?
You enter the number of colors you want, and the brightness you want. The brightness is entered as a number from 0 to 1. You can cut and paste the color values from the HTML Compatible Color list field below. Below that are the colors as they appear in your browser. The source code for the color list subroutine is available here.

How does it work?
The program models color-space as a cube with red, green and blue on the x, y and z axis. It then chooses the largest circle in this cube whose points have the requested brightness. This circle is divided into requested number of colors, and the red, green, blue componenets of the point determine the color.

INPUT   Number of Colors Brightness (Between 0 and 1) Background (Between 0 and 1)

OUTPUT  
HTML Compatible Color list
  b4b400,ec5923,e01078,9704cd,3c3cf0,0497cd,10e078,59ec23  


COLORS
rgb Display Color
b4b400   
ec5923   
e01078   
9704cd   
3c3cf0   
0497cd   
10e078   
59ec23