A smooth blending of shades from light to dark or from one color to another. In 2D drawing programs and paint programs, gradients are used to create colorful backgrounds and special effects as well as to simulate lights and shadows. In 3D graphics programs, lighting can be rendered automatically by the software. See 3D graphics
The software generates the gradient automatically as in this example created in Photoshop.