Skip to content

Instantly share code, notes, and snippets.

@kopiro
Created August 6, 2011 12:04
Show Gist options
  • Save kopiro/1129292 to your computer and use it in GitHub Desktop.
Save kopiro/1129292 to your computer and use it in GitHub Desktop.
Random HTML Color in Javascript
randHTMLColor = function () { return "#"+(Math.floor(Math.random()*16777215)).toString(16); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment