Skip to content

Instantly share code, notes, and snippets.

@johannesberdin
Created March 26, 2018 17:45
Show Gist options
  • Save johannesberdin/89715ec4b1da475ecc10a12e1b0714f8 to your computer and use it in GitHub Desktop.
Save johannesberdin/89715ec4b1da475ecc10a12e1b0714f8 to your computer and use it in GitHub Desktop.
random color
var color '#'+ ('000000' + Math.floor(Math.random()*16777215).toString(16)).slice(-6);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment