Skip to content

Instantly share code, notes, and snippets.

@jcutrell
Created March 9, 2012 15:33
Show Gist options
  • Save jcutrell/2007042 to your computer and use it in GitHub Desktop.
Save jcutrell/2007042 to your computer and use it in GitHub Desktop.
Paul Irish's random color in JS. Pretty fast.
'#'+('00000'+(Math.random()*(1<<24)|0).toString(16)).slice(-6);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment