Created
June 6, 2017 14:52
-
-
Save grifdail/9b9cf9e52188f5f142f89533916e8f96 to your computer and use it in GitHub Desktop.
pico8colors.pde
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
// Pico 8 colors for processing | |
color BLACK = #000000; | |
color DARK_BLUE = #1D2B53; | |
color DARK_PURPLE = #7E2553; | |
color DARK_GREEN = #008751; | |
color BROWN = #AB5236; | |
color DARK_GRAY = #5F574F; | |
color LIGHT_GRAY = #C2C3C7; | |
color WHITE = #FFF1E8; | |
color RED = #FF004D; | |
color ORANGE = #FFA300; | |
color YELLOW = #FFEC27; | |
color GREEN = #00E436; | |
color BLUE = #29ADFF; | |
color INDIGO = #83769C; | |
color PINK = #FF77A8; | |
color PEACH = #FFCCAA; | |
color[] colors = {BLACK,DARK_BLUE,DARK_PURPLE,DARK_GREEN,BROWN,DARK_GRAY,LIGHT_GRAY,WHITE,RED,ORANGE,YELLOW,GREEN,BLUE,INDIGO,PINK,PEACH}; | |
color randomColor() { | |
return colors[int(random(colors.length))]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment