Use the arrow keys to move your stamp, you can change the size if you want, press space to stamp, and click the paint bucket to change the color.
I made a variable, & some sprites.