You can quickly define the start and end colors of a gradient by dragging color swatches directly onto the ends of the gradient.
Dragging a color from the Swatches panel onto a gradient