T
THINKFORU
Submit Feedback

CSS Mesh & Multi-Gradient Generator

CSS Mesh & Multi-Gradient Generator

CSS Mesh & Multi-Gradient Generator

Save on Google

Free online CSS gradient generator for linear, radial, conic and blur mesh gradients. Build a multi color gradient with up to 6 stops, opacity and a live preview, then copy the CSS or Tailwind class. Everything runs in your browser. Nothing is stored or uploaded.

Inputs

Gradient type

135deg
60%

In Blur Mesh mode each color becomes a soft blob, and its position slider moves the blob left to right.

Color stops (3 to 6)

    Drag the grip to reorder colors, or use Up and Down.
    Output

    Live preview

    CSS output

    
    
    

    Tailwind CSS class

    
    
    

    Share this gradient

    This link opens the generator with your exact colors and settings. It updates every time you change something.

    https://www.thinkforu.org/p/css-gradient-generator.html

    Share with developers

    Related tools

    ToolWhat it does
    CSS clamp() CalculatorFluid typography and spacing values with clamp().
    PX to REM / EM ConverterConvert pixel values to rem and em.
    CSS Glassmorphism GeneratorFrosted-glass blur and transparency effects.
    CSS Neumorphism (Soft UI) GeneratorSoft extruded shadows for UI elements.
    CSS Box Shadow & Glow StackerLayer multiple shadows and glows.
    CSS Grid Layout BuilderDesign grids visually and copy the CSS.

    What is a CSS gradient?

    A CSS gradient is an image that the browser draws for you, so it needs no file download. linear-gradient() blends colors along a line, radial-gradient() spreads them outward from a point, and conic-gradient() sweeps them around a center. You can use any of them anywhere CSS accepts an image, most often as a CSS gradient background.

    A mesh gradient is the soft, multi-color blend popular in SaaS and Web3 landing pages. CSS has no single function for it, so a mesh gradient generator stacks several radial-gradient() layers over a base color and fades each one to transparent. That is what the Blur Mesh mode here builds, with a softness slider to control the spread.

    Every stop can carry opacity, so you can build a gradient with opacity or a transparent gradient overlay: the tool writes semi-transparent stops as rgba(). The CSS output also includes a solid-color fallback for legacy browsers, and the Tailwind box gives you the same gradient as an arbitrary-value class.

    How to use this gradient generator

    1. Pick a gradient type: Linear, Radial, Conic or Blur Mesh.
    2. Set the angle with the wheel or slider (Linear and Conic), or the softness slider (Blur Mesh).
    3. Edit each color stop: use the color picker or type a hex code, then set the opacity and position. Add up to 6 stops.
    4. Drag the grip to reorder colors, then test different aspect ratios and open the fullscreen preview.
    5. Press Copy CSS or Copy Tailwind class, or use Open Link and the share buttons to send the exact gradient to a teammate.

    Performance guide: GPU rasterization and paint optimization

    Gradients are cheap when they are static and expensive when they are animated or stacked at full-screen size. Use this checklist for large gradients and mesh backgrounds.

    #TipWhy it mattersWhat to do
    1Keep the gradient staticA gradient is painted once and cached as part of the layer. Changing background colors or background-position forces a repaint on every frame.Set the gradient once. To add motion, animate a different property on a separate layer.
    2Animate a layer, not the gradienttransform and opacity can be handled by the compositor on the GPU without repainting the gradient itself.Put a large gradient on a pseudo-element and move or fade it with transform and opacity.
    3Limit stacked radial layersEach radial-gradient layer is rasterized and blended, so many full-screen layers raise paint cost on weaker phones.Use 3 to 5 layers for a mesh gradient and avoid animating them.
    4Avoid large blur filtersfilter: blur() on big areas is one of the most expensive effects to render and can cause jank while scrolling.Use soft radial stops (the Softness slider) for the blur look instead of filter: blur().
    5Limit the painted areaThe bigger the painted area, the more pixels the browser must fill. background-attachment: fixed can be slow, and some mobile browsers ignore it.Put the gradient on a hero section or a fixed-height wrapper instead of the whole page, and skip background-attachment: fixed on mobile.
    6Use will-change sparinglyPromoting a layer to its own GPU texture uses memory, and doing it everywhere slows the page down.Add will-change: transform only to the layer you animate, remove it afterwards, and check Chrome DevTools > Rendering > Paint flashing.

    189 SaaS, Web3 and AI gradient presets

    Every base palette comes with Soft, Dark, Radial or Mesh variants. Search by name, color or style, filter by category or variant, then click Apply to load a preset into the generator above, or Copy CSS to use it as it is.


    Showing 189 of 189 presets

    NameCategory and typePreviewColorsActions
    Indigo BloomSaaS, Linear#6366f1 #8b5cf6
    Indigo Bloom SoftSaaS, Linear#b9baf9 #cbb6fb
    Indigo Bloom DarkSaaS, Linear#363885 #4c3387
    Indigo Bloom RadialSaaS, Radial#6366f1 #8b5cf6
    Violet SunriseSaaS, Linear#7c3aed #db2777 #f59e0b
    Violet Sunrise SoftSaaS, Linear#c4a6f7 #ef9ec2 #fad391
    Violet Sunrise DarkSaaS, Linear#442082 #781541 #875706
    Violet Sunrise MeshSaaS, Mesh#7c3aed #db2777 #f59e0b
    Ocean DashboardSaaS, Linear#0ea5e9 #2563eb
    Ocean Dashboard SoftSaaS, Linear#93d6f5 #9db9f6
    Ocean Dashboard DarkSaaS, Linear#085b80 #143681
    Ocean Dashboard RadialSaaS, Radial#0ea5e9 #2563eb
    Mint GrowthSaaS, Linear#10b981 #06b6d4
    Mint Growth SoftSaaS, Linear#93e0c6 #8fdeec
    Mint Growth DarkSaaS, Linear#096647 #036475
    Mint Growth RadialSaaS, Radial#10b981 #06b6d4
    Slate ProSaaS, Linear#0f172a #334155
    Slate Pro SoftSaaS, Linear#93979f #a3aab2
    Slate Pro DarkSaaS, Linear#080d17 #1c242f
    Slate Pro RadialSaaS, Radial#0f172a #334155
    Cloud BlueSaaS, Linear#e0f2fe #bae6fd #7dd3fc
    Cloud Blue DarkSaaS, Linear#7b858c #667e8b #45748b
    Cloud Blue MeshSaaS, Mesh#e0f2fe #bae6fd #7dd3fc
    Sunset CTASaaS, Linear#f97316 #ef4444
    Sunset CTA SoftSaaS, Linear#fcc096 #f8abab
    Sunset CTA DarkSaaS, Linear#893f0c #832525
    Sunset CTA RadialSaaS, Radial#f97316 #ef4444
    Peach CreamSaaS, Linear#fde68a #fca5a5 #f9a8d4
    Peach Cream SoftSaaS, Linear#fef4ca #fed6d6 #fcd8ec
    Peach Cream DarkSaaS, Linear#8b7e4c #8b5b5b #895c75
    Peach Cream MeshSaaS, Mesh#fde68a #fca5a5 #f9a8d4
    Lime FreshSaaS, Linear#a3e635 #22c55e
    Lime Fresh SoftSaaS, Linear#d6f4a4 #9ce5b7
    Lime Fresh DarkSaaS, Linear#5a7e1d #136c34
    Lime Fresh RadialSaaS, Radial#a3e635 #22c55e
    Teal TrustSaaS, Linear#0d9488 #0ea5e9
    Teal Trust SoftSaaS, Linear#92cfc9 #93d6f5
    Teal Trust DarkSaaS, Linear#07514b #085b80
    Teal Trust RadialSaaS, Radial#0d9488 #0ea5e9
    Rose GoldSaaS, Linear#fb7185 #f59e0b
    Rose Gold SoftSaaS, Linear#fdbfc8 #fad391
    Rose Gold DarkSaaS, Linear#8a3e49 #875706
    Rose Gold RadialSaaS, Radial#fb7185 #f59e0b
    Royal NavySaaS, Linear#1e3a8a #3b82f6 #93c5fd
    Royal Navy SoftSaaS, Linear#9aa6ca #a7c7fb #cee5fe
    Royal Navy DarkSaaS, Linear#10204c #204887 #516c8b
    Royal Navy MeshSaaS, Mesh#1e3a8a #3b82f6 #93c5fd
    Berry SmoothieSaaS, Linear#be185d #7e22ce #4338ca
    Berry Smoothie SoftSaaS, Linear#e297b6 #c59ce9 #aaa5e7
    Berry Smoothie DarkSaaS, Linear#680d33 #451371 #251f6f
    Berry Smoothie MeshSaaS, Mesh#be185d #7e22ce #4338ca
    Aqua MistSaaS, Radial#cffafe #a5f3fc #67e8f9
    Aqua Mist DarkSaaS, Radial#728a8c #5b868b #398089
    Warm PaperSaaS, Linear#fff7ed #ffedd5 #fed7aa
    Warm Paper DarkSaaS, Linear#8c8882 #8c8275 #8c765e
    Warm Paper MeshSaaS, Mesh#fff7ed #ffedd5 #fed7aa
    Electric LimeSaaS, Linear#bef264 #4ade80 #2dd4bf
    Electric Lime SoftSaaS, Linear#e2f9b9 #aef0c6 #a0ece2
    Electric Lime DarkSaaS, Linear#688537 #297a46 #197569
    Electric Lime MeshSaaS, Mesh#bef264 #4ade80 #2dd4bf
    Calm LavenderSaaS, Radial#ede9fe #ddd6fe #c4b5fd
    Calm Lavender SoftSaaS, Radial#f7f5ff #f0edff #e4defe
    Calm Lavender DarkSaaS, Radial#82808c #7a768c #6c648b
    Graphite BlueSaaS, Linear#111827 #1e40af
    Graphite Blue SoftSaaS, Linear#94979e #9aa9db
    Graphite Blue DarkSaaS, Linear#090d15 #102360
    Graphite Blue RadialSaaS, Radial#111827 #1e40af
    Neon ChainWeb3, Linear#00f5a0 #00d9f5
    Neon Chain SoftWeb3, Linear#8cfad4 #8ceefa
    Neon Chain DarkWeb3, Linear#008758 #007787
    Neon Chain RadialWeb3, Radial#00f5a0 #00d9f5
    Ether GlowWeb3, Linear#627eea #7c3aed
    Ether Glow SoftWeb3, Linear#b8c5f6 #c4a6f7
    Ether Glow DarkWeb3, Linear#364581 #442082
    Ether Glow RadialWeb3, Radial#627eea #7c3aed
    Solar FlareWeb3, Linear#f7931a #ffd200
    Solar Flare SoftWeb3, Linear#fbce98 #ffeb8c
    Solar Flare DarkWeb3, Linear#88510e #8c7400
    Solar Flare RadialWeb3, Radial#f7931a #ffd200
    Cyber PurpleWeb3, Linear#9333ea #3b0764
    Cyber Purple SoftWeb3, Linear#cea3f6 #a78fb9
    Cyber Purple DarkWeb3, Linear#511c81 #200437
    Cyber Purple RadialWeb3, Radial#9333ea #3b0764
    Matrix NightWeb3, Linear#022c22 #064e3b #10b981
    Matrix Night SoftWeb3, Linear#8da09c #8fafa7 #93e0c6
    Matrix Night DarkWeb3, Linear#011813 #032b20 #096647
    Matrix Night MeshWeb3, Mesh#022c22 #064e3b #10b981
    Token PinkWeb3, Linear#ff0080 #7928ca
    Token Pink SoftWeb3, Linear#ff8cc6 #c39ee7
    Token Pink DarkWeb3, Linear#8c0046 #43166f
    Token Pink RadialWeb3, Radial#ff0080 #7928ca
    Hologram SweepWeb3, Conic#00f5ff #a855f7 #ff4da6 #00f5ff
    Hologram Sweep SoftWeb3, Conic#8cfaff #d8b2fb #ffafd7 #8cfaff
    Hologram Sweep DarkWeb3, Conic#00878c #5c2f88 #8c2a5b #00878c
    DeFi AuroraWeb3, Mesh#7c3aed #06b6d4 #22c55e #f472b6
    DeFi Aurora SoftWeb3, Mesh#c4a6f7 #8fdeec #9ce5b7 #fac0de
    DeFi Aurora DarkWeb3, Mesh#442082 #036475 #136c34 #863f64
    NFT CandyWeb3, Linear#f472b6 #a78bfa #60a5fa
    NFT Candy SoftWeb3, Linear#fac0de #d7cbfd #b7d6fd
    NFT Candy DarkWeb3, Linear#863f64 #5c4c8a #355b8a
    NFT Candy MeshWeb3, Mesh#f472b6 #a78bfa #60a5fa
    Blockchain SteelWeb3, Linear#0b1220 #1e293b #475569
    Blockchain Steel SoftWeb3, Linear#91949b #9a9fa7 #acb2bc
    Blockchain Steel DarkWeb3, Linear#060a12 #101720 #272f3a
    Blockchain Steel MeshWeb3, Mesh#0b1220 #1e293b #475569
    Gas Fee OrangeWeb3, Linear#ff6b00 #ff2d55
    Gas Fee Orange SoftWeb3, Linear#ffbc8c #ffa0b2
    Gas Fee Orange DarkWeb3, Linear#8c3b00 #8c192f
    Gas Fee Orange RadialWeb3, Radial#ff6b00 #ff2d55
    Metaverse UltraWeb3, Linear#2e1065 #7c3aed #22d3ee
    Metaverse Ultra SoftWeb3, Linear#a193ba #c4a6f7 #9cebf7
    Metaverse Ultra DarkWeb3, Linear#190938 #442082 #137483
    Metaverse Ultra MeshWeb3, Mesh#2e1065 #7c3aed #22d3ee
    Staking GoldWeb3, Linear#fbbf24 #b45309
    Staking Gold SoftWeb3, Linear#fde29c #ddb290
    Staking Gold DarkWeb3, Linear#8a6914 #632e05
    Staking Gold RadialWeb3, Radial#fbbf24 #b45309
    Layer Two CyanWeb3, Linear#22d3ee #6366f1
    Layer Two Cyan SoftWeb3, Linear#9cebf7 #b9baf9
    Layer Two Cyan DarkWeb3, Linear#137483 #363885
    Layer Two Cyan RadialWeb3, Radial#22d3ee #6366f1
    Dark DAOWeb3, Radial#1e1b4b #0f172a #020617
    Dark DAO SoftWeb3, Radial#9a98ae #93979f #8d8f97
    Satoshi SunriseWeb3, Linear#f7931a #fde68a
    Satoshi Sunrise SoftWeb3, Linear#fbce98 #fef4ca
    Satoshi Sunrise DarkWeb3, Linear#88510e #8b7e4c
    Satoshi Sunrise RadialWeb3, Radial#f7931a #fde68a
    Zero KnowledgeWeb3, Mesh#0f172a #6366f1 #14b8a6 #a855f7
    Zero Knowledge SoftWeb3, Mesh#93979f #b9baf9 #95dfd7 #d8b2fb
    Zero Knowledge DarkWeb3, Mesh#080d17 #363885 #0b655b #5c2f88
    AI NeuralAI & Fintech, Linear#4f46e5 #06b6d4
    AI Neural SoftAI & Fintech, Linear#b0acf3 #8fdeec
    AI Neural DarkAI & Fintech, Linear#2b267e #036475
    AI Neural RadialAI & Fintech, Radial#4f46e5 #06b6d4
    Prompt SparkAI & Fintech, Conic#f472b6 #8b5cf6 #38bdf8 #f472b6
    Prompt Spark SoftAI & Fintech, Conic#fac0de #cbb6fb #a5e1fc #fac0de
    Prompt Spark DarkAI & Fintech, Conic#863f64 #4c3387 #1f6888 #863f64
    Fintech GreenAI & Fintech, Linear#059669 #34d399
    Fintech Green SoftAI & Fintech, Linear#8ed0bc #a4ebd1
    Fintech Green DarkAI & Fintech, Linear#03523a #1d7454
    Fintech Green RadialAI & Fintech, Radial#059669 #34d399
    Bank BlueAI & Fintech, Linear#1d4ed8 #60a5fa
    Bank Blue SoftAI & Fintech, Linear#99afed #b7d6fd
    Bank Blue DarkAI & Fintech, Linear#102b77 #355b8a
    Bank Blue RadialAI & Fintech, Radial#1d4ed8 #60a5fa
    Vault BlackAI & Fintech, Linear#000000 #111827
    Vault Black SoftAI & Fintech, Linear#8c8c8c #94979e
    Vault Black RadialAI & Fintech, Radial#000000 #111827
    Ledger MintAI & Fintech, Linear#6ee7b7 #3b82f6
    Ledger Mint SoftAI & Fintech, Linear#bef4df #a7c7fb
    Ledger Mint DarkAI & Fintech, Linear#3c7f65 #204887
    Ledger Mint RadialAI & Fintech, Radial#6ee7b7 #3b82f6
    Quant VioletAI & Fintech, Linear#312e81 #7c3aed
    Quant Violet SoftAI & Fintech, Linear#a2a1c6 #c4a6f7
    Quant Violet DarkAI & Fintech, Linear#1b1947 #442082
    Quant Violet RadialAI & Fintech, Radial#312e81 #7c3aed
    Crypto WalletAI & Fintech, Mesh#111827 #7c3aed #22d3ee #f43f5e
    Crypto Wallet SoftAI & Fintech, Mesh#94979e #c4a6f7 #9cebf7 #faa9b7
    Crypto Wallet DarkAI & Fintech, Mesh#090d15 #442082 #137483 #862334
    Midnight AuroraAI & Fintech, Linear#0f2027 #203a43 #2c5364
    Midnight Aurora SoftAI & Fintech, Linear#939b9e #9ba6aa #a0b2b9
    Midnight Aurora DarkAI & Fintech, Linear#081215 #122025 #182e37
    Midnight Aurora MeshAI & Fintech, Mesh#0f2027 #203a43 #2c5364
    Deep SpaceAI & Fintech, Radial#312e81 #1e1b4b #020617
    Deep Space SoftAI & Fintech, Radial#a2a1c6 #9a98ae #8d8f97
    Premium GoldAI & Fintech, Linear#1c1917 #78350f #fbbf24
    Premium Gold SoftAI & Fintech, Linear#999897 #c2a493 #fde29c
    Premium Gold DarkAI & Fintech, Linear#0f0e0d #421d08 #8a6914
    Premium Gold MeshAI & Fintech, Mesh#1c1917 #78350f #fbbf24
    Invoice OrangeAI & Fintech, Linear#fb923c #f97316
    Invoice Orange SoftAI & Fintech, Linear#fdcea7 #fcc096
    Invoice Orange DarkAI & Fintech, Linear#8a5021 #893f0c
    Invoice Orange RadialAI & Fintech, Radial#fb923c #f97316
    Glass FrostAI & Fintech, Linear#f8fafc #e2e8f0 #cbd5e1
    Glass Frost DarkAI & Fintech, Linear#888a8b #7c8084 #70757c
    Glass Frost MeshAI & Fintech, Mesh#f8fafc #e2e8f0 #cbd5e1
    Terminal GreenAI & Fintech, Linear#022c22 #14532d #22c55e
    Terminal Green SoftAI & Fintech, Linear#8da09c #95b2a0 #9ce5b7
    Terminal Green DarkAI & Fintech, Linear#011813 #0b2e19 #136c34
    Terminal Green MeshAI & Fintech, Mesh#022c22 #14532d #22c55e
    Spectrum ProAI & Fintech, Conic#ef4444 #f59e0b #22c55e #3b82f6 #a855f7 #ef4444
    Spectrum Pro SoftAI & Fintech, Conic#f8abab #fad391 #9ce5b7 #a7c7fb #d8b2fb #f8abab
    Spectrum Pro DarkAI & Fintech, Conic#832525 #875706 #136c34 #204887 #5c2f88 #832525
    Soft Pastel MeshAI & Fintech, Mesh#fbcfe8 #bae6fd #ddd6fe #bbf7d0
    Soft Pastel Mesh DarkAI & Fintech, Mesh#8a7280 #667e8b #7a768c #678872
    Sky GradientAI & Fintech, Linear#38bdf8 #818cf8 #c084fc
    Sky Gradient SoftAI & Fintech, Linear#a5e1fc #c6cbfc #e3c8fe
    Sky Gradient DarkAI & Fintech, Linear#1f6888 #474d88 #6a498b
    Sky Gradient MeshAI & Fintech, Mesh#38bdf8 #818cf8 #c084fc

    Frequently asked questions

    #QuestionAnswer
    1How do I make a mesh gradient in CSS?CSS has no single mesh-gradient function. The common technique stacks several radial-gradient() layers, each placed with at X% Y% over a solid background-color, and fades every layer to transparent. Choose Blur Mesh in this generator, set 3 to 6 colors, move each color's position slider to shift its blob, and use the softness slider to control how far each color spreads.
    2What is the difference between linear, radial and conic gradients?linear-gradient() blends colors along a straight line at an angle, radial-gradient() spreads outward from a center point, and conic-gradient() sweeps colors around a center like a color wheel or pie chart. Use linear for backgrounds and buttons, radial for glows and vignettes, and conic for charts, spectrums and metallic effects.
    3How many color stops can a CSS gradient have, and how do I add opacity?CSS allows many color stops, and this generator supports 3 to 6 so the output stays readable. Give a stop an opacity below 100% and the tool writes it as rgba(), for example rgba(99,102,241,0.5). You can also fade to the keyword transparent to build a transparent gradient overlay.
    4Do large CSS gradients hurt performance or Core Web Vitals?A static gradient is cheap: the browser paints it without downloading an image, which helps LCP compared with a large background photo. Cost appears when you animate background properties, stack many full-screen layers or add big blur filters, because each frame is repainted. Animate transform or opacity on a separate layer instead, as the performance guide above explains.
    5How do I use a CSS gradient in Tailwind CSS?Use an arbitrary value with underscores in place of spaces, for example bg-[linear-gradient(135deg,#6366f1_0%,#ec4899_100%)], which is exactly what the Tailwind output box generates. For a Blur Mesh gradient, add bg-[#hex] for the base color and bg-[image:...] for the layered gradients. For reusable gradients, add them to theme.extend.backgroundImage in your Tailwind config.