It's a little ambiguous how you're supposed to do things, it reminds me of those flash games in which you had to guess the order of your actions in order to solve puzzles.
The visuals are really nice!
Did you use a shader to get the rainbow coloring?