Skip to content

Instantly share code, notes, and snippets.

@codejets
Created November 22, 2016 12:38
Embed
What would you like to do?
random hex color codes
Easily generate a random hex color in JS:
"#" + Math.floor(Math.random() * 16777215).toString(16).toUpperCase();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment