Created
March 26, 2018 11:09
-
-
Save villares/c10baaaf958cdd0f18d15e3dc92febf5 to your computer and use it in GitHub Desktop.
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
color wrong_orange = color(24, 100, 100); | |
color get_orange(){ | |
return color(24, 100, 100); | |
} | |
void setup(){ | |
colorMode(HSB, 360, 100, 100); | |
color correct_orange = get_orange(); | |
background(116, 0, 13); | |
size(200, 200, FX2D); | |
fill(wrong_orange); | |
rect(0,0,50,50); | |
fill(correct_orange); | |
rect(50, 0, 50, 50); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment