Created
July 27, 2015 11:13
-
-
Save scruffyfox/c286e382b8d35c9b7adc to your computer and use it in GitHub Desktop.
Generate random colour with 0xff alpha
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
int colour = random.nextInt(0xffffff) + (0xff << 24); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment