In the code what do the numbers in the line, var red = [0, 100, 63]; mean? What happens if you change them and what is their purpose?
The program is using HSL format for the colors. This means that the first number is hue, the second is saturation, and the last is lightness. So
0, 100, 63 results in a hue of
0, a saturation of
100, and a lightness of
I don't know a whole lot about HSL colors though, so here are a couple links which will hopefully help you some: