Your code
Set the three colours.
Console
Results
0%
Press Run to check your code
Your code has an error
Set the three colours.
Why not 100%?
Penalties: none this run
Line up as many else ifs as you like and the first true one wins, so three keys can pick between three colours. This is a colour picker with a keyboard instead of buttons.
Set the three colours.
Set the three colours.
Set the three colours.