Home › Image Tools › Mesh Gradient Generator

Mesh Gradient Generator

Create soft, colorful mesh gradients like the backgrounds on modern apps and websites. Drag the color points, warp them into aurora shapes, add film grain, then download a PNG at any size, from a phone wallpaper to 8K, or copy the CSS.

Last updated:

Drag the points · click to select · double-click the canvas to add a point · arrow keys move the selected point

nonestrong
subtlestrong
×
CSS (layered radial gradients)

      
    
Advertisement
Advertisement

How to use the Mesh Gradient Generator

  1. Start from a palette or press Randomize until you like the colors.
  2. Drag the color points on the canvas. Click a point to select it and change its color; double-click the canvas or press Add point for more.
  3. Shape the blend with Softness (how far colors spread) and Warp (flowing, aurora-like distortion). Turn on Grain for a modern textured look.
  4. Choose the size: pick a preset such as 1920 × 1080 or 1080 × 1920, or type any width and height.
  5. Download PNG or Copy CSS to use the gradient on a website.

How the mesh gradient is calculated

Every pixel is a weighted average of all color points. A point's weight falls off smoothly with distance, using a Gaussian curve: w = e−d² / (2σ²), where d is the distance from the pixel to the point (measured relative to the shorter side of the image, so blobs stay round on wide images) and σ is set by the Softness slider. The final color is Σ wᵢ·colorᵢ ÷ Σ wᵢ.

The averaging happens in the OKLab color space rather than in RGB. OKLab is designed so that equal steps look equally different to the eye, so a blend from blue to yellow passes through clean greens and cyans instead of a dull gray. Warp shifts each pixel's lookup position with a few smooth sine waves before the distance is measured, which bends the color fields into flowing, aurora-like ribbons. Grain adds the same random brightness offset to the red, green and blue channels of each pixel.

Common sizes

UseSize (px)Aspect
Desktop wallpaper, slide, video background1920 × 1080 / 2560 × 1440 / 3840 × 216016:9
Instagram square post1080 × 10801:1
Instagram portrait post1080 × 13504:5
Stories, Reels, phone wallpaper1080 × 19209:16
Open Graph link preview1200 × 6301.91:1
X (Twitter) header1500 × 5003:1

Design tips

  • Use 4 to 6 points. Fewer looks like a simple gradient; many more turns muddy.
  • Combine one dark and several light colors for depth, or stay within neighboring hues (analogous colors) for a calm look.
  • Check text contrast. If you put text on the gradient, test it with a color contrast checker; light text needs the darker regions behind it.
  • Add a little grain (5 to 15%) to large backgrounds to avoid visible color banding on some screens.
  • Prefer the PNG on websites when it must match exactly. The CSS version uses radial gradients, which are close but not identical; it is tiny and scales to any screen.

Frequently asked questions

What is a mesh gradient?

A mesh gradient blends several colors placed at different points of an area, so colors flow in two dimensions instead of along one line. Design tools build them on a grid of colored points; this generator places free points and blends them with smooth weights, which gives the same soft, organic look.

How do I use a mesh gradient in CSS?

CSS has no native mesh gradient, so the export stacks one radial-gradient per color point on top of a base color. It looks very close to the canvas in most cases; for a pixel-perfect result, download the PNG and use it as a background-image.

Why do the colors look smoother than in other tools?

Colors are mixed in OKLab, a perceptual color space designed so that blends between two colors look even. Mixing in plain RGB tends to create dull gray or brownish zones between complementary colors such as blue and orange.

What does grain do?

Grain adds fine monochrome noise. It hides color banding on large screens, makes the gradient feel printed or photographic, and is a popular style for modern websites. Keep it at 5 to 15% for a subtle texture.

What is the maximum size?

Up to 8000 pixels per side and 40 megapixels in total, for example 7680 × 4320 (8K). Large images take a few seconds to render; the gradient is rendered in strips so the page stays responsive.

Can I use the gradients commercially?

Yes. The images are generated on your device from your own settings, so you can use them in any personal or commercial project without attribution.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

CSS Gradient GeneratorDesign linear, radial and conic CSS gradients with draggable stops and export CSS or PNG.Wallpaper GeneratorCreate gradient and pattern wallpapers sized for any phone, tablet or desktopColor Palette GeneratorGenerate beautiful color palettes and export them.Seamless Pattern GeneratorMake seamless dot, stripe, wave, grid, zigzag and check patterns. Export CSS, SVG or PNG.CSS Gradient Animation GeneratorCreate animated gradient backgrounds: pick colors, angle and speed, preview live and copy the CSS.Meme GeneratorMake memes with classic templates and custom text.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.Certificate MakerDesign certificates from templates and export one or many as PDF.GIF MakerTurn videos and images into GIFs, trim and compress.Business Card MakerDesign business cards and download a print-ready PDF.Flyer MakerDesign printable and social media flyers from free templates.Poster MakerDesign posters in A0–A5 and US sizes and download a print-ready PDF.Invitation Card MakerCreate printable birthday, wedding and party invitations for free.Thumbnail Safe ZonePreview YouTube and TikTok thumbnail safe zones.Thumbnail MakerDesign 1280×720 YouTube thumbnails with templates, bold text and stickersYouTube Thumbnail GrabberPaste a YouTube link to get every thumbnail size, from HD 1280x720 down to 120x90.Chart MakerMake bar, line, area, pie and doughnut charts from a simple table and download PNG or SVG.Venn Diagram MakerMake 2- or 3-circle Venn diagrams from lists; overlaps are found for you. Export PNG or SVG.Mind Map MakerBuild mind maps fast with keyboard shortcuts and auto layout, then export PNG, SVG or JSON.Org Chart MakerType an indented list of names and titles and get a clean org chart to download as PNG or SVG.Timeline MakerCreate horizontal or vertical timelines from dated events with colors, then save PNG or SVG.Gantt Chart MakerPlan tasks with dates, progress and dependencies on a Gantt chart, then export PNG or CSV.Word Cloud GeneratorTurn any text into a word cloud in shapes like a heart or star, then save it as PNG or SVG.Pie Chart MakerMake pie and donut charts with labels, percentages and a legend, then download PNG or SVG.Favicon GeneratorMake a favicon.ico, PNG icons, apple-touch-icon and web manifest from an image, text or emoji.Passport Photo MakerMake passport and visa photos for any country and print them on a 4x6 sheet.Signature MakerDraw or type your signature and download it as a transparent PNG or SVG.Quote Image MakerTurn a quote into a shareable image for Instagram, Stories or X with backgrounds and fonts.Profile Picture MakerMake a round or square profile picture with a ring border and color or gradient background.Before and After Image MakerCombine two photos into a labeled before and after image or an animated slider video.Device Mockup GeneratorPut a screenshot into a phone, tablet, laptop, monitor or browser frame and download a PNG.3D Text GeneratorRender extruded 3D text with depth, bevel, materials and rotation; export a transparent PNG.Album Cover MakerDesign 3000×3000 album and podcast cover art with photo filters and type presets.Animated Text GIF MakerCreate animated text GIFs with typing, blink, bounce, rainbow or scroll effects; GIF or WebM.App Icon GeneratorMake every iOS, Android adaptive, PWA and macOS app icon size from one image, as a ZIP.Birthday Card MakerMake a printable folded birthday card from templates with photos, stickers and fonts; PDF or PNG.Book Cover MakerDesign ebook and print book covers with trim sizes, spine width from page count, PNG/PDF.Brochure MakerMake tri-fold or bi-fold brochures from templates with panel guides and a two-sided print PDF.Baby Milestone Card MakerMake printable monthly baby milestone cards (1-12 months) or add milestone overlays to photos.Coupon MakerDesign printable discount coupons with offer, code and expiry, then print several per page as PDF.Gift Box Template MakerEnter box size and style to get a printable tuck, lid or pillow box template as PDF or SVG.Knitting Chart MakerDraw colorwork and stitch charts with symbols, row numbers and repeat boxes. Export PNG or PDF.Lost Pet Poster MakerMake a printable LOST DOG or LOST CAT flyer with photo, details, reward and tear-off phone tabs.Mandala GeneratorCreate random or custom mandalas with layers and symmetry, then print coloring pages as PDF or SVG.Perler Bead Pattern MakerTurn any image into a fuse bead pattern with real bead colors, pegboard grid and bead counts.Postcard MakerDesign a 4x6 postcard front and address back, then download a print-ready PDF with bleed.Soccer Lineup MakerBuild a soccer team lineup: pick a formation, drag players on the pitch, set kit colors, save PNG.SWOT Analysis MakerTurn strengths, weaknesses, opportunities and threats into a clean 2x2 SWOT chart (PNG/PDF).Wedding Monogram MakerDesign a wedding monogram with your initials and date in circle, crest or wreath styles. PNG or SVG.Image Alt Text GeneratorGenerate descriptive alt text for images with an AI captioning model in your browser. Edit, copy.App Store Screenshot GeneratorTurn app screenshots into framed store images with captions, in App Store and Google Play sizes, as a ZIP.Badge and Emblem MakerDesign circle, shield and seal badge logos with curved text, a ribbon banner and icons. SVG or PNG.Barcode Label Sheet MakerPrint barcode price labels with product name and price on 30, 60 or 80 per sheet layouts.Birthday Wishes Image with NameWrite a name on a birthday cake, balloons or banner picture and share it as a PNG image.Bubble Letter GeneratorMake printable puffy bubble letters, outlined for coloring or filled, any letter size. PDF or PNG.Bulk Barcode GeneratorTurn a list or CSV into hundreds of barcodes at once: ZIP of PNG/SVG or a printable label PDF.Business Card ScannerScan a business card photo with OCR, edit the contact fields and save a vCard or CSV.Carousel Post MakerDesign multi-slide text carousels for Instagram and LinkedIn. Export a PNG set or a PDF.Coat of Arms MakerDesign a family crest: shield shape, divisions, heraldic colors, charges and a motto scroll. SVG or PNG.Curved Text GeneratorPut text on a circle or arc with radius, spacing, font and color; transparent PNG or SVG.Event Ticket MakerDesign printable event tickets with sequential numbers, seats and a unique QR code on each one.First Day of School Sign MakerMake a printable first or last day of school sign with grade, name, age and favorites.Flag MakerDesign a custom flag with stripes, crosses, stars and emblems, then download it as SVG or PNG.Flipbook Animation MakerDraw frame-by-frame animations with onion skin and FPS control; export GIF, video or sprite sheet.Fundraising Thermometer MakerMake a goal thermometer with raised amount and milestones. Download PNG or print a poster.Glitter Text GeneratorMake animated sparkling glitter text GIFs with color presets, fonts and a transparent option.Graffiti Text GeneratorTurn words into graffiti lettering with outlines, 3D drop, paint drips and a wall. PNG download.Greeting Card MakerDesign a printable folded greeting card for any occasion: front, inside and back, as PDF or PNG.
See all 142 Design & Graphics Makers →