You can define your own gradients in the Gradient Editor dialog box. A gradient can include two or more colors, or one or more colors that fade to transparency.
To define a gradient, you add a color stop to add a color to the gradient, drag the color stop and the midpoint icon to define the range between two colors, and adjust the Opacity stops to specify the transparency that you want in the gradient.
Double-click the color stop , or
click the Color swatch to display the Color Picker. Choose a color,
and click OK.
Choose Foreground from the Color pop‑up menu to use the current foreground color.
Choose Background from the Color pop‑up menu to use the current background color.
Choose User Color from the Color pop‑up menu to always use the color you chose for the gradient, other than the current foreground or background.