![]() ![]() |
|
|
[Site Map] |
|
|
|
|
Doc's Color Database |
|
|
This code can be used for many different types of applications. Imagine having an online help, or a catalog with 1000's of items! For this example, we used a library of colors. Simply enter a color into the textbox below - depressing the 'submit' button will bring up an alert window giving the hex value of the color (if it exists in the database). It will also bring up a small window with the background as the color you requested. Enter a hex value in the textbox. Do not include the "#" symbols and make sure the letter values are in "CAPS". Hit submit and it will display the color's name in the box below. Pressing 'view' will bring up a small window with the background as the color you requested. |
|
|
|
| The real value of the program may be looking at all the colors cataloged in the source! I mean how much difference can there be in the color codes of "dodger blue" and "dodgerblue2"? | |
| Also, if you do know color names and some color codes, be sure to enter them correctly. Just a small mistake will throw the program off. Note the space in "dodgerblue" isn't in "dodger blue2". | |
|
|
|
Dr. Donna Woolard |