Skip to content

Instantly share code, notes, and snippets.

@kocur4d
Created August 28, 2018 19:54
Show Gist options
  • Save kocur4d/a34a43233aeef4a36be05f0494b67555 to your computer and use it in GitHub Desktop.
Save kocur4d/a34a43233aeef4a36be05f0494b67555 to your computer and use it in GitHub Desktop.
JS Random Color
const randomColor = () => '#'+(Math.random()*0xFFFFFF<<0).toString(16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment