The JavaScript Goodies Book
Color Scripts
These scripts display or manipulate color in some fashion.
- Color Box
See boxes of color, click on boxes of color, get hex!
- Color Gradient Test
Choose color and this shows it from dark to light and back again.
- Show Color Cube
Put in word, hex, or RGB code of color, then small cube is posted showing color.
- Get The Lights
Simple game where clicking right radio button "turns on" lights.
- Red to Black and Back
Flashes red to black a few times then posts page.
- Light Switch
Goes from light to dark with a switch.
- Lights Out!
Click button and lights go out.
- Color Wait
Rolls colors when someone logs in to page, but also posts text along bottom of page while user is waiting.
- Background Roller
Rolls through colors again, and again, and again, until you go nuts.
- Background Flasher
Go easy or go silly. This is fun!
- Random Background Colors
Add some random color to your page.
- Background Color Prompt
Allow user to choose background color before going in.
- Hex to RGB and Back
Put in hex code, get red, green, and blue, then vice versa.
- Background Table Color
Use table to choose color for page depending on your mood.
- Color Change With Display
Slowly fades in background color, but while it's fading, color codes display.
- Color Start
Tells you to wait for page to load while you watch color display.
- Color Cube
Many colors as you roll your pointer along.
- Hex Coder
Type in color name and it gives you hex code.
- Large Color Script
Gives hex codes and color combinations.
- All Colors
Asks what you can do with colors, then posts your answers (NN only).
- Color Code Verify
Put in color code -- window pops up showing what it looks like.
- Background Color Log
Try to get last background color. This plays along.
- Background Color with Alert
That's what it does.
- Chat Room Color Prompt
Do you go into chat rooms? Take this with you.
- Word = Background Color
Prompt box asks for word and changes background color by what you write.
- Color = Hour
Produces different background color depending on time of day.
- Pull-Down Color Menu
Use menu to change background color.
- New Color Every 5 Seconds
Enough said.
- New Color Every Second
Ditto.
- Interview for New Color
Takes time, but it's fun.
- Color Buttons
Click button, change color.
- Pull-Down Colors
Pull-down menu of colors.
- Background Color Changer
Make page's background roll through colors of your choice before posting text.
- B&W Background
Fades background from black to white before text appears.
- MouseOver Color Change
Offer color names. When mouse passes over name, background changes to that color.
- MouseOver Color Changer
Changes page to blue when mouse passes over.
- Text Color Changer
Changes color depending on what viewer writes to page.
- Radio Button Color Changer
Click on radio button, change color.
- Button Color Changer
Click on button, change color.
- Questions Then Color
Button asks two questions: Depending on answer, it changes background color.
- Day/Night Script
During morning hours, page is black text on white; at night it turns to white text on black.
[Back to the JavaScript Goodies Page]