Created
November 22, 2016 12:38
-
-
Save codejets/33e6bf771a70c7cf75eb50dfafe8edec to your computer and use it in GitHub Desktop.
random hex color codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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