
Adding a gradient color ramp
To add a gradient color ramp, click on the Add item button () and then choose Gradient. This will open the Gradient Color Ramp window. A gradient color ramp uses two colors, which are specified as Color 1 and Color 2, to set the start and end colors. QGIS applies an algorithm to create a gradation between the two colors.
The following screenshot shows the Gradient Color Ramp window:

More colors can be added by double-clicking inside the color ramp to add a new Gradient stop.
Each Gradient stop can be moved along the Color Ramp, along with its actual color and transparency:

When all of the gradient parameters have been set, click on OK to save the gradient. QGIS will prompt you to name the gradient and to give it any Tag(s) that you wish. Once it is named, the gradient will appear in the Style Manager's list of color ramps after the default color ramps.