CSS Gradient Generator

Pick a gradient type, set your color stops and angle, then copy the ready-to-paste CSS.

Gradient Settings

Live Preview

Color Stops

CSS Output

Tailwind Arbitrary-Value Class

Paste into a Tailwind CSS v3+ project with JIT mode enabled.

Summary

Pick a gradient type, set your color stops and angle, then copy the ready-to-paste CSS.

How it works

  1. Choose a gradient type — Linear, Radial, or Conic — from the dropdown.
  2. Add color stops using the Add Stop button; pick each color and set its position (0–100%).
  3. Adjust the angle dial for Linear/Conic gradients, or set the shape and position for Radial.
  4. Watch the live 300×200 px preview update in real time.
  5. Click Copy CSS to copy the generated gradient declaration, or use the Tailwind output for arbitrary-value classes.

Use cases

  • Create hero section background gradients for websites
  • Generate smooth multi-stop color transitions for UI buttons and cards
  • Build decorative conic/radial gradients for modern CSS artwork

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu