Created
September 10, 2015 09:16
-
-
Save toruta39/7708ea1facdf19728853 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 randomRGB() { | |
const c = 0xffffff * Math.random(); | |
return [c >> 16, c >> 8 & 255, c & 255]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment