What is the meaning of the numbers in the brackets after the color variables?


#1

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?


#3

Hey Aviva,

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 63.
I don't know a whole lot about HSL colors though, so here are a couple links which will hopefully help you some: