CSS Gradient Generator

Build linear and radial gradients visually. Pick stops, angle, and direction; copy as CSS or Tailwind arbitrary value.

CSS
background: linear-gradient(135deg, #ff7a59 0%, #6a3093 100%);
Tailwind
bg-gradient-to-br from-[#ff7a59] to-[#6a3093]
Type
Angle135°
Color stops

01 — Overview

How it works

A visual gradient builder for CSS. Drag stops, set angle, pick linear or radial, and copy the result as a CSS background-image declaration or a Tailwind arbitrary value. Live preview reflects every change.

02 — Use cases

When to use it

  1. 01

    Build a hero background gradient that doesn't look like every other SaaS site

  2. 02

    Translate a Figma gradient to clean CSS

  3. 03

    Prototype a button or card surface with a subtle gradient sheen

  4. 04

    Get the Tailwind class for an existing CSS gradient

03 — Examples

Real input, real output

linear, 135°, #ff7a59 → #6a3093

ex 01

linear-gradient(135deg, #ff7a59 0%, #6a3093 100%)

A standard two-stop diagonal sweep.

radial, centered, three stops

ex 02

radial-gradient(circle at 50% 50%, #f6d365 0%, #fda085 50%, #f76b1c 100%)

Sunburst-style radial gradient with three color stops.

04 — FAQ

Frequently asked

Yes — add as many stops as you need. Each stop has a position (0–100%) and a color. Drag the handles in the preview or edit the values directly.

05 — More

Tools that pair well