incomplete: not working; changed if else statements to switch statement w/ default for indigo and violet