Realm by Rook
AI product engineeringProduct designAI implementationWorkflow automationSystems integrationDomain strategyAI product engineeringProduct designAI implementationWorkflow automationSystems integrationDomain strategy
Color & Design Tools

Gradient Generator

Create beautiful CSS gradients

0%
100%
background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);

How to use

  1. Select gradient colors
  2. Adjust angle and stops
  3. Copy CSS code

Use cases

  • Web design
  • Background creation
  • UI elements
  • Visual effects

About the Gradient Generator

A CSS gradient fills an element with a smooth color transition — the backbone of modern hero sections, button states, and subtle UI depth. This generator builds the CSS string live and exports a matching PNG, so you can hand off the same gradient to developers (as CSS) and designers (as a flat image) in one click.

Features

  • Linear + radial gradients
  • 0–360° angle with matching canvas PNG output
  • Two-color or expandable stops
  • Copy CSS background one click
  • Download 800×400 PNG that matches the preview exactly

How it works

  1. Pick two colors and a gradient type (linear or radial).
  2. Adjust the angle slider for linear gradients.
  3. See the live preview update.
  4. Copy the CSS or download a 2x PNG.

Frequently asked questions

Does the PNG match the CSS preview?

+

Yes — we project the CSS angle correctly onto canvas coordinates so 45° in your CSS is 45° in the exported image.

Can I do three or more color stops?

+

Multi-stop gradients are on the roadmap. For now, the tool focuses on clean two-color gradients.

What's a conic gradient?

+

A gradient that sweeps around a center point (like a pie chart). Supported in modern CSS but not yet in this tool — roadmap.

Why isn't my downloaded PNG retina-resolution?

+

We export at 2x (1600×800 effective) via canvas scaling. For ultra-sharp brand assets, use SVG — we're adding SVG export.