/GuessTheColor

A game to guess the color for a given rgb value

Primary LanguageJavaScript

GuessTheColor

A game to guess the color for a given RGB value

Built using HTML,CSS and JavaScript

Screenshots

Original screen

Screenshot from 2021-05-07 13-12-33

Wrong color selected

Screenshot from 2021-05-07 13-13-46

Correct color selected

Screenshot from 2021-05-07 13-14-02

Get new colors

Screenshot from 2021-05-07 13-14-15

Reset game

Screenshot from 2021-05-07 13-14-43

Features

  • The New Colors button gives a random RGB value.
  • The player should click any one of the 4 buttons(circular in shape).
    • Upon clicking the correct circular button, 'Guess the color!'tab turns green with a message at the bottom.
    • Upon clicking the wrong circular button, 'Guess the color!'tab turns red with a message at the bottom.
  • The player can click the 'New Colors' button to get different set of RGB values.
  • The player can click 'Play Again?' to reset the game.