Gradient Maker

Make linear, radial and conic CSS gradients with up to 8 colours. Copy the CSS or download the gradient as a PNG up to 4K.

Runs in your browserNo sign-upWorks offline
#38E1CF → #5B8CFF
#F472B6 → #FBBF24
#22C55E → #0EA5E9
background: linear-gradient(135deg, #38E1CF, #5B8CFF);

What the Gradient Maker does

The Gradient Maker builds CSS gradients you can see as you change them. Choose a linear, radial or conic gradient, set the angle or centre, and add up to eight colours with their positions. The tool writes the CSS with a solid colour first as a fallback, and can download the same gradient as a PNG image for slides, social posts or wallpapers, in sizes from 1080 × 1080 to 3840 × 2160.

How to use it

  1. Pick a preset such as Lagoon or Sunset, or start from the default.
  2. Choose Linear, Radial or Conic and set the angle, shape or centre.
  3. Change each colour and drag its position; use Add colour for more stops.
  4. Copy the CSS, or choose a size and download a PNG.

Example

The Lagoon preset gives background: linear-gradient(135deg, #38E1CF 0%, #5B8CFF 100%);. Downloaded at 1080 × 1080, the top-left pixel is the teal #38E1CF and the bottom-right is the blue #5B8CFF, exactly as the browser draws it. Switching to Radial with an ellipse puts teal in the centre and blue in the corners.

Linear, radial and conic

Linear gradients run in a straight line: 0° goes upwards, 90° to the right and 135° to the bottom right. Radial gradients spread out from a centre as a circle or an ellipse that reaches the farthest corner. Conic gradients sweep around a centre like a clock hand, which suits colour wheels, pie-like charts and shiny rings.

Repeating repeats the pattern of stops across the area. With stops at 0% and 10%, it draws ten stripes, which is how many striped and checked backgrounds are made in CSS.

Smoother gradients

Two strong colours from opposite sides of the colour wheel can pass through a dull grey in the middle. Adding a third colour between them, such as a purple between blue and orange, keeps the middle bright.

Questions people ask

Is anything uploaded?

No. Everything is worked out in your browser, so your colours, designs and images stay on your device.

Why is there a solid colour line in the CSS?

It is a fallback: very old browsers that cannot draw gradients show that colour instead of nothing.

Can I use the PNG as a phone wallpaper?

Yes. Choose 1080 × 1920 for a phone, or 3840 × 2160 for a 4K screen.

Do gradients slow a page down?

No. A CSS gradient is drawn by the browser and downloads as a few bytes of text, far smaller than an image.

Related tools