Then, create a switch statement, in a for loop. Each case should call analogWrite() 3 times, once for each pin. Each case should set the pins to one of the colors you liked.
What do i write in the for loop? As in:
for(what?){
switch(color){
etc...}}