RGB Color Matching Game Match the RGB Color Code in the heading with the square that is that color. Use the image below to aid in selection. Has three levels of difficulty: Hard: 1 in 16 (default) Medium: 1 in 8 Easy: 1 in 4 All color sqrares and light blue background change to the matching color and a 'correct' message is displayed when the correct square is selected. Every wrong choice slowly fades away and a "try again" message is displayed. The JavaScript code is organized in the following order: Global Variables Buttons Main Logic Functions