CSS Gradient Generator — visual builder, copy-ready CSS

Two or three colors, an angle, live preview, and clean background / background-image CSS to paste straight into your stylesheet.

Quick answer: Build linear and radial CSS gradients visually: pick colors, angle and stops, watch the live preview, copy the code. Free, instant, runs entirely in your browser.

135°


How to use

  1. Pick your colors and the angle (or radial mode).

About this tool

Modern gradients are one line of CSS, but hand-writing color stops is tedious. This builder composes linear-gradient(angle, c1 p1, c2 p2[, c3 p3]) or radial-gradient(circle, …) with correct percentage stops, previews it at 60+ sizes of smoothness (pure CSS, no canvas needed) and copies both the shorthand background and the full background-image line.

FAQ

Why two CSS lines to copy?
background-image is the property purists use inside rules; background shorthand works too — pick whichever matches your codebase.
Can I add transparency?
Yes — use 8-digit hex like #4f46e580 or rgba() values directly in the color inputs.