Skip to content

Instantly share code, notes, and snippets.

@calvindavis
Created February 19, 2014 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calvindavis/9096119 to your computer and use it in GitHub Desktop.
Save calvindavis/9096119 to your computer and use it in GitHub Desktop.
javascript:var a=document.querySelectorAll("*"),b,c=function(){return Math.round(Math.random()*255);},d=function(){return "rgb("+c()+","+c()+","+c()+")";};setInterval(function(){for(b=0;b<a.length;b+=1){a[b].style.backgroundColor=d();a[b].style.color=d();}},250);return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment