html69// dev utilities

CSS tool

CSS Gradient Generator

Generate CSS gradients in the browser: linear, radial, conic, and gradient text. Copy CSS or Tailwind. Nothing is uploaded.

Like the tool? Find a bug?Share with us

Generator

A CSS linear gradient generator, plus radial, conic, and a gradient text generator. Copy CSS or Tailwind. It stays on your device.

Preview

Mode

Type

Direction

Stops

Stop 1

Color

Stop 2

Color

Supported files: .css
.gradient {
  background-image: linear-gradient(to right, #0ea5e9 0%, #0369a1 100%);
}
bg-gradient-to-r from-[#0ea5e9] to-[#0369a1]
<div class="gradient"></div>

Guide

How this CSS gradient generator works

01

Linear, radial, or conic

A CSS linear gradient generator writes linear-gradient() with a direction or angle. Radial fills from a point. Conic sweeps around it. Repeating tiles the same stops.

02

Gradient text

The gradient text generator paints the same image, then clips it to glyphs with background-clip: text and color: transparent. Tailwind adds bg-clip-text text-transparent.

03

CSS or Tailwind

Named linear directions become bg-gradient-to-* plus from-* / to-*. Custom angles, extra stops, radial, and conic use an arbitrary bg-[…] class. Need hex from RGB? Use RGB to HEX.

Use it

What to copy

Sample, Sunset, Ocean, Sweep, and Headline are starting points. Use CSS in a stylesheet. Use Tailwind when the rest of the UI is utilities. Up to eight color stops. Paste an existing gradient to reverse it onto the controls.

FAQ

Questions

Linear, radial, or conic?

Linear blends along a line — the usual CSS linear gradient generator. Radial blends from a center. Conic blends around a center, like a sweep. All three live on this page.

How do I make gradient text?

Switch to Text. The preview clips the gradient to the letters. Copy CSS with background-clip: text or Tailwind bg-clip-text text-transparent.

Does this output Tailwind?

Yes. Two- and three-stop linear directions copy bg-gradient-to-r, from-*, via-*, and to-*. Other shapes copy a single arbitrary background class.

Is my CSS uploaded anywhere?

No. Preview, copy, and download run in this tab. There is no account and no API call. Paste is capped at 50,000 characters.