WASD or Arrow keys to move and space to change color. Also, number keys to go to levels you have already been to.
Credits to Mariozeldamusicfan12 for the instructions and all the code, all I did was add a "little" more projectiles in the final fight and make it so you can press space to go to the final fight.