This interactive game displays RGB followed by a value from 0-255, 0 meaning no color from that primary color, and each value representing an amount of red, green, and blue in that order. The goal is to correctly determine the color through the combination of red, green, and blue among the presented colored squares.
Examples of RGB combinations:
RGB(255, 0, 0)
is red,RGB(0, 0, 0)
is black, andRGB(255, 255, 255)
is white.
Play this game at:
- Modes: Easy/Hard
- Guide Message
- New Colors
The game includes an easy or hard mode which controls the number of colored squares to guess from. Initially, the game starts in hard mode with 6 choices and one square being the correct combination. To switch to easy mode, click "EASY" to generate a new set of 3 colors and a new RGB to guess.
Once the game begins by clicking a colored square, a guided message will be displayed. This message includes, "try again" and "correct!". After the correct color is chosen, a Play Again button is displayed to allow a new set of colors to be generated.
The 3 values are randomly generated and by clicking "NEW COLORS", a new set of colors as well a new RBG will be displayed.
- Javascript
- HTML
- CSS