Created
August 1, 2020 19:05
-
-
Save OlivierJM/0f8c718d55fc1f7e0d74742c2ab48df2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function generateColor() { | |
return ( | |
"#" + | |
Math.random() | |
.toString(16) | |
.substr(-6) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment