Click replay once after clicking play, then click on parts of Mario to change its color, and if it disappears, just click replay.
Note: The colors go by the order of the colors in the rainbow. The credits go to FoxesNWolves' Scratch Character Customizer! remix (it was the inspirtion for this project).