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.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.

Related tools

{ }

JSON Formatter

Developer Tools

🔀

CSV to JSON Converter

Developer Tools

🔍

Regex Tester

Developer Tools

🔤

Base64 Encoder / Decoder

Developer Tools

🌐

URL Encoder / Decoder

Developer Tools

#️⃣

Hash Generator (MD5 & SHA)

Developer Tools

🆔

UUID Generator

Developer Tools

⏱️

Epoch Timestamp Converter

Developer Tools

🎟️

JWT Decoder

Developer Tools

⏰

Cron Expression Generator

Developer Tools

🔢

AI Token Counter

Developer Tools

🧪

Fake Person Generator

Developer Tools

📧

Fake Email Generator

Developer Tools

✅

Credit Card Validator

Developer Tools

📱

Phone Number Validator

Developer Tools

📨

Email Validator

Developer Tools

💾

Data Storage Converter

Developer Tools

🧬

HTML Encoder / Decoder

Developer Tools

🧾

JSON to CSV Converter

Developer Tools

🔁

CSV to JSON Converter

Developer Tools

📐

XML Formatter / Beautifier

Developer Tools

🗄️

SQL Formatter

Developer Tools

📝

Markdown Previewer

Developer Tools

🌐

IP Subnet Calculator

Developer Tools

🕒

Unix Timestamp Converter

Developer Tools

🌓

CSS Box Shadow Generator

Developer Tools

🚦

HTTP Status Code Lookup

Developer Tools

🛰️

What Is My IP

Developer Tools

🔎

WHOIS Lookup (RDAP)

Developer Tools

🛡️

Password Breach Checker

Developer Tools

⚡

Internet Speed Test

Developer Tools

🧪

Fake JSON / API Data Generator

Developer Tools

🔌

REST API Tester

Developer Tools

🌍

DNS Lookup

Developer Tools

📑

Markdown to HTML Converter

Developer Tools

🗂️

ZIP File Extractor

Developer Tools

📦

ZIP File Creator

Developer Tools

🔏

File Checksum Verifier

Developer Tools

📷

Webcam Test

Developer Tools

🎙️

Microphone Test

Developer Tools

⌨️

Keyboard Tester

Developer Tools

🕵️

User Agent Checker

Developer Tools

🖥️

Screen Resolution Checker

Developer Tools

🗝️

Passphrase Generator

Developer Tools

🔒

AES Encrypt / Decrypt

Developer Tools

🛡️

WebRTC Leak Test

Developer Tools

🟥

Dead Pixel Test

Developer Tools