Skip to main content
Generate Gradient creates a new image without requiring an input file. Supply one or more colors, choose a gradient type, and set the output dimensions and format.

Inputs

Color stops are placed at even intervals. With three colors, for example, they appear at 0%, 50%, and 100%. A single color produces a solid fill rather than a gradient. Use CSS-compatible color strings such as #ff006e. Linear angles are normalized to one full rotation before rendering. Angle is hidden for a radial gradient, which is centered in the image.

Output

JPEG and WebP are encoded at quality 90. PNG uses its normal lossless encoding.

Example: make a three-color background

Set the size to 1600 by 900, choose linear, set Angle to 135, and add these color stops in order:
The colors are spaced evenly from the first edge of the gradient to the last.