A simple two-stop linear gradient
Green to blue at 90° copies as background: linear-gradient(90deg, #10b981 0%, #0ea5e9 100%);
Create linear and radial CSS gradients with a live preview and copy the code — free online.
About
Builds a linear or radial CSS gradient from up to six colour stops, previews it live, and gives you the ready-to-use background CSS to copy.
Designers and developers use it to try out gradient combinations visually before writing any CSS by hand, while anyone building a landing page uses it for a quick background effect. It's one of many free designer tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Green to blue at 90° copies as background: linear-gradient(90deg, #10b981 0%, #0ea5e9 100%);
A radial gradient from white to dark grey copies as background: radial-gradient(circle, #ffffff 0%, #1f2937 100%);
Adding a third stop — orange #f97316, pink #ec4899 and violet #8b5cf6 at 0%, 50% and 100% — at 135° copies as background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
FAQ
Quick answers to common questions about the CSS Gradient Generator.
It builds a linear or radial CSS gradient from colour stops you set, and gives you the finished CSS to copy.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. The gradient is built and previewed entirely on your own device — nothing is sent to a server.
A linear gradient transitions in a straight line at the angle you set; a radial gradient spreads outward from the centre in a circle, and doesn't use an angle.
Up to six. Each stop has its own colour and a position from 0 to 100%.
Paste the copied line (for example background: linear-gradient(90deg, #10b981 0%, #0ea5e9 100%);) directly into your stylesheet or inline style.
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
It supports standard two-colour-stop-and-up linear and radial gradients — it doesn't build conic gradients or multiple layered gradients.
Did CSS Gradient Generator work for you?