Drag the handles to manipulate the gradient.
Left Click on the empty space below the gradient to add a new color transition handle
Right Click on a handle to delete it
Download the source code from here