It uses buttons to set variables to turn the light on or off, and another to select different RGB values and display.

the first code I have written from scratch.

 its a little buggy on the mode selection, anyone have any better ideas on how to do it?