Chose colors with variables and press "r" to set them to random colors and "s" to set them exactly. When you are satisfied, press space to draw gradient. After it's done, press space to repeat the process.
Credit to @JTxt for the color block. Please check out my other project: http://scratch.mit.edu/projects/25543238/