Fluxy will take HTML text and give it a gradient from one colour to another. It works best on headings, but it should work on any HTML element with text inside it.
There's plenty of comments in the .js file if you like that sort of thing.
The id of the element you want to fade the text of e.g.
an array of DOM elements e.g.
a jquery object e.g.
The start colour, in the format
[R,G,B](values are 0-255)
The end colour, in the format