CSS & Wallpaper Gradient Generator

Free gradient studio: linear, radial, conic and mesh gradients with unlimited colors, drag-and-drop editor, smooth OKLCH blending, grain, live mockups, CSS/Tailwind/SVG code and 4K wallpaper downloads.

Space random • click the color bar to add a color • drag stops to move • Delete removes the selected color • in Radial/Conic/Mesh drag the points on the preview
Opacity of selected color100%
Sunset Vibeslinear
Ocean Bluelinear
Purple Dreamlinear
Mint Freshlinear
Peach Blushlinear
Night Skylinear
Cotton Candylinear
Firelinear
Auroramesh
Lavender Mistradial
Gold Luxurylinear
Forestlinear
Neon Glowlinear
Rose Waterlinear
Instagramlinear
Pastel Meshmesh
Cherrylinear
Deep Spaceradial
Citruslinear
Spectrumconic
Skylinear
Berry Meshmesh
Calm Sandlinear
Electriclinear
Emeraldlinear
Warm Flamelinear
Steellinear
Candy Conicconic
Click ♡ Save to keep gradients you love (stored in this browser).

Direction

Grain / noise0%

Code

Download wallpaper / image

Guest Free Trial: 0 of 5 free uses • Sign in with Gmail for 10 tools/day

💡 Help us improve the CSS & Wallpaper Gradient Generator

Missing a feature or found a problem? Tell us — we read every message and add the most-requested features.

How to Use the CSS & Wallpaper Gradient Generator

  1. 1
    Press Spacebar for a random gradient or pick one from the Library
  2. 2
    Click the color bar to add colors, drag to move them
  3. 3
    Choose Linear, Radial, Conic or Mesh and add grain
  4. 4
    Copy CSS / Tailwind or download a wallpaper

Features

✓Mesh Gradients
✓Unlimited Colors
✓Grain & OKLCH Smooth
✓4K Wallpapers & SVG

Design beautiful gradients in seconds

This gradient generator is a full gradient studio. Drag colour stops on the bar, add as many colours as you like, and switch between linear, radial, conic and mesh gradients. Smooth OKLCH blending avoids the muddy grey band you get in plain CSS gradients, and a subtle grain effect gives the modern, textured look popular in app and web design.

How to make a gradient

  1. Pick a preset or start with two colours.
  2. Add, move and recolour stops; set the angle or position.
  3. Turn on OKLCH smoothing and grain if you like.
  4. Check it on the website, phone and card mockups.
  5. Copy the CSS, Tailwind or SVG code — or download a wallpaper up to 4K.

Gradient types

TypeLooks likeGood for
LinearColour changes along a lineButtons, headers, backgrounds
RadialGlow from a centre pointSpotlights, soft backgrounds
ConicColours around a circleCharts, colour wheels, rings
MeshSoft blobs of colourHero sections, wallpapers, social posts

Wallpapers for every screen

Download your gradient as a high-resolution wallpaper for iPhone, Android, laptop, 4K monitor or as Instagram and YouTube backgrounds. Grain is rendered into the image so it looks the same everywhere.

Tips

Four kinds of gradient

  • Linear: colours blend in a straight line at any angle — the classic website hero background.
  • Radial: colours spread out from a point — good for spotlights and soft glows.
  • Conic: colours rotate around a centre — for pie-like effects and colour wheels.
  • Mesh: several soft colour blobs blended together — the modern “aurora” look for apps and posters.

Copy code for your project

  • CSS: paste into background or background-image.
  • Tailwind: ready classes or an arbitrary value.
  • SVG: for design tools and apps that don’t read CSS.

A simple CSS example: background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);

Download as an image

Download a PNG (1920 × 1080 by default) to use as a wallpaper, slide background, YouTube thumbnail base or social post background.

Tips for good-looking gradients

  1. Use colours that are close on the colour wheel for smooth blends; opposite colours can create a muddy grey middle.
  2. Add a middle colour stop to keep the transition bright.
  3. Check text contrast on top of the gradient with the contrast checker.
  4. Save favourites with ♡ and share a link to the exact gradient with your team.

Need matching brand colours first? Start with the color palette generator.

Frequently Asked Questions

Can I copy the CSS code?

Yes — CSS, Tailwind classes or SVG with one click.

What is a mesh gradient?

Several soft colour blobs blended together — popular for modern backgrounds.

Why do some gradients look grey in the middle?

Plain RGB blending creates a muddy band. Turn on OKLCH smoothing to fix it.

Can I download a wallpaper?

Yes, in phone, desktop and 4K sizes.

Is it free for commercial use?

Yes.

How do I use the gradient in CSS?

Copy the CSS code and paste it as the background of any element, for example background: linear-gradient(135deg, #4F46E5, #7C3AED).

Can I download the gradient as an image?

Yes. Download a PNG to use as a wallpaper, slide or social media background.

Official Sources & Further Reading