Gradient Generator

Blend two or more colors into a linear, radial, conic or mesh gradient, then copy its CSS or download it as an image.

Your gradient

background: linear-gradient(135deg, #FF7A59 0%, #FE6D70 12.5%, #F86288 25%, #ED5BA0 37.5%, #DF57B8 50%, #CC55CF 62.5%, #B656E3 75%, #9B58F4 87.5%, #8C5AFA 93.75%, #7B5CFF 100%);
Size
Format
PNGJPGSVG

Gradient settings

Type
LinearRadialConicMesh

Colors blend along a straight line. Drag the knob on the preview to turn it.

Ready-made colors
Colors

Click the bar to add a color, drag a stop to move it.

Color
Position
%
Opacity100%
Angle
135°
Blend
SmoothClassic

Mixes in OKLCH: far-apart colors meet in a bright middle, not grey.

Grain
0%

Film-like noise in PNG and JPG downloads. CSS has no grain.

Web designers get a CSS line that pastes straight into a stylesheet, and anyone making a wallpaper or slide gets a sharp image.

Free, no sign-up, and your last gradient is kept in this browser, so it is still there the next time you open the page.

  • Linear, radial, conic and mesh
  • CSS, Tailwind, PNG, JPG, SVG
  • Any size, up to 4K and beyond

How to make a gradient

Make a gradient background for a website, slide or phone in three steps.

  1. Pick gradient colors

    Click the color bar to add a stop and drag stops to move them. Each one gets its own color and its own opacity.

  2. Set the gradient angle

    Choose Linear, Radial, Conic or Mesh, then turn the angle, or drag the center and mesh points on the preview.

  3. Copy CSS or save a PNG

    Copy the CSS or the Tailwind class, or pick a size such as 4K and download the gradient as PNG, JPG or SVG.

Gradient backgrounds and wallpapers

A gradient background suits a desktop or phone wallpaper, a slide, a banner or a social post: anywhere a flat color looks plain and a photo would fight with the words on top. Pick Desktop, 4K, Phone, Square or Story, or type a size, and the preview takes that exact shape.

Mesh gradients blend several soft spots of color over a base color, the hazy look of many app and product pages. Drag the spots where you want them on the preview, and raise or lower Spread to let them melt together or keep their own patches.

Grain lays fine noise over the image for a printed, film-like grainy gradient. With Smooth out banding on, each download also gets noise too faint to notice, so a long or dark fade shows no visible steps once it is saved as an 8-bit file.

CSS gradient code for any website

The CSS tab gives a background you can paste into any stylesheet: a linear-gradient with its angle, a radial-gradient with its shape and center, a conic-gradient with its start angle, or a mesh written as a stack of radial gradients over one color.

Smooth blending mixes colors in OKLCH, so blue fading into yellow passes through green rather than a dull grey. The code writes that blend out as extra color stops, so Chrome, Safari, Firefox and older browsers all paint the same colors as the preview.

The Tailwind tab writes the same gradient as a single bg-[image:...] class that Tailwind CSS 3 and 4 both read. See-through stops are written as the color itself at zero opacity, so a fade laid over a photo stays clean instead of turning grey.

What the gradient maker does

  • Mesh gradient generator

    Place up to eight soft color spots on the preview and drag them around until the blend looks right.

  • Radial and conic styles

    Radial spreads from a center as a circle or an ellipse; conic sweeps around it like a color wheel.

  • Transparent gradients

    Lower any stop's opacity to fade into see-through, and the PNG keeps that transparency for layering.

  • No gradient banding

    Every download gets faint, even noise that breaks up the steps 8-bit images show in slow fades.

  • Grainy gradients

    The Grain slider adds film-like noise to PNG and JPG files, from a light touch to a heavy texture.

  • Random gradients

    Random draws fresh colors and an angle from your browser's secure random source, ready to tweak.

Where your gradients stay

In this browser. Nothing is uploaded or sent anywhere.

  • Processing

    Every preview, line of CSS and image file is made by code running in this tab, with no server.

  • Storage

    Only your last gradient and its settings are saved, in this browser alone, for your next visit.

  • Account

    Make and download as many gradients as you like, with no sign-up, no email and no watermark.

Color gradient questions

How do I make a gradient in CSS?

Set background to linear-gradient() with an angle and two or more colors, for example linear-gradient(90deg, #FF7A59, #7B5CFF).

What is a linear gradient?

Colors that blend along a straight line at an angle you choose, such as left to right at 90 degrees or from corner to corner.

What is a radial gradient?

Colors that spread out from a center point in rings, as a circle or an ellipse, much like the glow around a lamp.

What is a mesh gradient?

Several soft spots of color blended into each other with no clear line or ring. On the web it is made of radial gradients.

How do I make a transparent gradient?

Pick a stop and lower its opacity to 0%. Black fading to see-through over a photo is the usual use, so white text on it reads.

How do I fix gradient banding?

Add slight noise, known as dithering. Smooth out banding does that in every download, and Grain adds more if steps still show.

How do I make a smooth gradient?

Keep Blend on Smooth, which mixes colors in OKLCH. Colors far apart on the wheel then meet in a bright middle, not a grey one.

How do I use a gradient in Tailwind?

Copy the Tailwind tab into the element's class list. It is one bg-[image:...] class, so it works with no change to your config.

Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.