1-7 to change colors. E to erase. This was simple coding, if you need to use this for a game or something I'd be glad, but you would need to credit me.