Color Testing

This is a quick-and-dirty JavaScript that I wrote to help demonstrate what various colors do in HTML. Feel free to link to it.

Type a hex code or a color name in the window (do not include the hash symbol). Then click Go. This page's background or text will change to the specified color. If you enter a color name that is not recognized, you'll get black.

Background Color:
Text Color:

Don't forget that, if possible, you should test your page on multiple browsers (IE4, IE5, Netscape) and on different platforms (Windows, Macintosh). Colors can look very different on different systems.

Here is some more text to fill up the page. Blah blah blah. The quick brown fox jumps over the lazy dog. I hope this is enough. In case it isn't, here is:
Back to