PixHolmPixHolm

CSS Gradient Generator

Build CSS gradients visually, then copy or export the code.

Live preview

Colour picker

Editing #26FFB4 at 0% — layer 1.

100%
rgba(38, 255, 180, 1)

Gradient stops

Drag a handle to move a colour. The picker above edits whichever stop is selected.

0%52%
%
%

Preview and code

/* PixHolm CSS Gradient Generator */

.pixholm-gradient {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(circle at 18% 28%, #26FFB4 0%, rgba(38, 255, 180, 0) 52%),
    radial-gradient(circle at 72% 18%, #4D7CFF 0%, rgba(77, 124, 255, 0) 58%),
    radial-gradient(circle at 46% 82%, #B44DFF 0%, rgba(180, 77, 255, 0) 55%),
    linear-gradient(200deg, #04070F 0%, #08183A 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-blend-mode: screen, screen, screen, normal;
  animation: pixholm-gradient-pan 14s linear infinite;
}

@keyframes pixholm-gradient-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .pixholm-gradient {
    animation: none;
  }
}

Presets

Beautiful gradients to get you started.

Layers

Each layer paints over the one below. Tap to edit.

100%
100%
100%
100%

Gradient type

Animation

Drifts the gradient diagonally. Loops seamlessly.

Turn Animate off in Presets to hide this card.

Quick answer

What is Gradient Generator?

Build a CSS gradient in a live preview, combine linear, radial, conic, and repeating layers, adjust colour stops and transparency, then copy production-ready code for your project.

Guide

Free CSS Gradient Generator for Web Backgrounds

Build a CSS gradient in a live preview, combine linear, radial, conic, and repeating layers, adjust colour stops and transparency, then copy production-ready code for your project.

Create Linear, Radial, and Conic Gradients

Choose a gradient type, set its direction or position, and tune each colour stop. Stack multiple layers to create soft light, depth, and richer backgrounds without an image file.

Design Transparent CSS Gradients

Use transparent colour stops to fade an overlay into the background beneath it. Preview the result as you adjust colours, opacity, position, and layer order.

Start With a Preset or Build Your Own

Browse Normal, Transparent, and Creative preset collections, then edit the colours and settings to make the gradient fit a hero, card, banner, button, or page background.

Animate Gradients When You Need Motion

Keep a gradient still by default, or turn on animation to reveal controls for motion style, speed, and looping. The generated CSS respects reduced-motion preferences.

Copy CSS and Export Gradient Code

Copy the generated CSS or export a project-friendly version for CSS, Tailwind, SCSS, HTML, or supported SVG combinations. The preview updates as you work, so you can check the result before using it.

Related tools

Keep the workflow moving.

Jump into the next useful tool with a quick dock-style shortcut.

Design

Best use cases

Hero backgroundsCards and panelsButtons and overlaysCreative mockups

Design

Trust signals

Linear, radial, conic, and repeating layersTransparent stopsAnimation stays optional

Design

Next useful steps

Copy CSSExport for your stackTry a different preset

Questions, answered

Everything you need to know.

Quick answers to the most common questions about using this tool in real browser workflows.

Still need help? Contact us