CSS Gradient Generator
Build CSS gradients visually: linear, radial or conic type, angle slider and up to six color stops with a live full-width preview and copyable code.
Result
Writing linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%) by hand and reloading the page to see it is a slow loop. This generator closes it: pick linear, radial or conic, drag the angle slider, set each color stop with a native color picker and a percent position — and the full-width preview repaints on every single input, with the finished background line always ready to copy.
The three gradient types cover different jobs. Linear gradients fade along a direction and carry most hero sections and buttons; radial gradients radiate from the center for glows and vignettes; conic gradients sweep around the center and power pie charts and color wheels. You can switch types at any moment — your stops carry over, so comparing the three takes seconds.
Up to six color stops give you room for multi-band designs, and the preset pages ship proven combinations — a warm sunset, a calm ocean and a soft pastel pair — as starting points you can tweak rather than blank canvases. Note the division of labor: the color palette generator on this site picks harmonious flat colors and the color format converter translates a value between HEX, RGB and HSL, while this tool does a different job — it turns chosen colors into ready CSS gradient code.
Everything runs locally in your browser: no upload, no account, no server round-trips, and the generator keeps working offline once loaded.