I am trying to have it so my background fades to colors, not just changes. I'd also like to have it repeat if possible!
I'm using JQuery right now to change the CSS of the body.
$(document).ready(function(){
var bgColor = ["#FF0000", "#FF00A6", "#FF00FF"];
var i = 0;
var bgRotate = setInterval(function(){
$('body').css({'backgroundColor' : bgColor[[i]]});
i++;
}, 1000);
});
Here's the fiddle.