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.
How to use
- 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?
Can I add transparency?
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 (SHA-256)
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