Return to Snippet

Revision: 40294
at January 29, 2011 00:48 by mike_fowler


Initial Code
'#' + Math.floor(Math.random() * 16777215).toString(16);

Initial URL
http://paulirish.com/2009/random-hex-color-code-snippets/

Initial Description
Generates random hex values ("You know, these guys: #0afec0, #c9f2d0, #9b923e")

Initial Title
Javascript Random Color

Initial Tags
color

Initial Language
JavaScript