The canvas 'fillStyle' gradient is a feature in web graphics that allows for smooth transitions between colors in a shape. It is defined using the 'createLinearGradient' or 'createRadialGradient' methods, specifying start and end points or centers, and then adding color stops to define the gradient's color transition.