This JavaScript code will let you have all text contained within this JavaScript code parameter to come out in rainbow colors without all the font command tags making your HTML document large.
Insert this code into the HEAD section
Insert this code into the BODY section
Simply Cut and Paste Script code; Change message to yours
Be sure to properly place script position in head & body of html
Example of this script operating seen below
This script has been in the DesignerWiz.com Public Library.