Labs

Gradient Generator

Create linear, radial, and conic gradients with custom color stops, live preview, CSS or Tailwind code, and high-resolution PNG export.

Adjust stops to design
Design -
Colour stopsColour · position %
Preview & CSS -
Gradient preview and code appear here
Settings CSS · hex colours · no fallback
How It Works

How to Use Gradient Generator in 3 Steps

1

Select gradient type and stops

Choose Linear, Radial, or Conic, adjust the angle slider, and add or position color stops.

2

Choose code format

Open Settings to switch output between standard CSS, Tailwind arbitrary classes, and vector SVG in hex, RGB, or HSL.

3

Copy code or export PNG

Copy the generated snippet, download a .css file, or export 1920x1080, 1200x630, or 1080x1080 PNG images.

FAQ

Gradient Generator: Frequently Asked Questions

Which browsers support linear, radial, and conic gradients?

All modern browsers support linear, radial, and conic CSS gradients natively without vendor prefixes.

What does the solid-color fallback option do?

It prepends a background-color declaration using your first color stop for legacy email clients that strip gradient syntax.

How does PNG export render the gradient?

An HTML5 canvas paints your exact stops and angles at full target resolution on your device without server rendering.

Can I enter OKLCH, HSL, or named CSS colors?

Yes. Type any valid CSS color string into a stop field, and the adjacent color picker syncs automatically.

Is my input sent to a server?

No. JavaScript computes everything inside your browser tab. Toolity uploads, logs, or stores nothing.

Toolity Labs

Explore All Labs Tools

Generate QR codes, build shareable links, convert units, and run everyday browser utilities.

Copied to clipboard