Made color picker a switch statement for better readability.