Skip to content
ColorsGuide

Gradient generator

Design a gradient with as many colour stops as you like, then copy the CSS or download it as SVG or PNG for backgrounds, slides and social posts.

Example paletteUsed until you create or choose your own

Colour stops (click the bar to add, drag to move)

Selected stop

Gradient

Export

background: #ff6b6b;
background: linear-gradient(135deg, #ff6b6b 0%, #ff7e6a 8.33%, #ff8f69 16.67%, #ff9e67 25%, #ffad64 33.33%, #ffbc5e 41.67%, #feca57 50%, #e8cf7d 58.33%, #d1d39b 66.67%, #b7d7b5 75%, #9bd9ce 83.33%, #79dae5 91.67%, #48dbfb 100%);

Presets

Avoiding grey, muddy gradients

Browsers blend gradient colours in sRGB by default. Between two saturated colours on opposite sides of the colour wheel, such as orange and blue, the midpoint passes close to grey. The Smooth (OKLab) option calculates intermediate stops in a perceptual colour space and writes them into the CSS, so the gradient stays vivid in every browser, not only those that support the newer in oklab syntax.

Linear, radial and conic

Linear gradients run along a straight line at the chosen angle (90° is left to right, 180° is top to bottom). Radial gradients spread outwards from a centre point to the farthest corner. Conic gradients sweep around a centre point, which is useful for colour wheels, pie-chart effects and soft spotlight backgrounds.

SVG has no native conic gradient, so conic SVG exports are built from 360 one-degree wedges. They look identical at normal sizes. Browse ready-made designs in the gradient library.

Was this page useful?