First, download this file. Add this code into the HEAD section of your page.
[script src="rainbow.js"] [/script]
Ta da. Click here for an example!