Skip to content

Instantly share code, notes, and snippets.

@droid001
Created October 4, 2019 07:32
Show Gist options
  • Save droid001/c6cce1edc9b8c097fd6f229822e5eaba to your computer and use it in GitHub Desktop.
Save droid001/c6cce1edc9b8c097fd6f229822e5eaba to your computer and use it in GitHub Desktop.
generates a random color
const randomColour = () => '#'+(Math.random()*0xFFFFFF<<0).toString(16);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment