JavaScript Color Fading Script

Written by Thomas

Topics: Scripting, Webdesign

Are you looking for another simple effect that can bring something brilliant to your website appearance? Try this lightweight JavaScript Color Fading Script. It gives you color transition that is fading gradually to another color.

You can apply this script for tables, divs and many more.
Some elements that you can target are:
- background
- border
- text color

You will need to set the hex value of starting color, then hex value to fade to and number of times to divide the color difference. Experiment a bit on some different transition speed values to see how the color fading effect work beautifully for you!
The good news is, Michael Leigeber has written this script with the demo page! Visit the site to check it out ;)

Leave a Comment Here's Your Chance to Be Heard!