Revision: 52031
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 11, 2011 18:02 by resting
Initial Code
function get_random_color() { var letters = '0123456789ABCDEF'.split(''); var color = '#'; for (var i = 0; i < 6; i++ ) { color += letters[Math.round(Math.random() * 15)]; } return color; }
Initial URL
Initial Description
http://stackoverflow.com/questions/1484506/random-color-generator-in-javascript
Initial Title
JS Random color generator
Initial Tags
Initial Language
JavaScript