Build a linear or radial CSS gradient with two or three colour stops, set colours and positions, watch the live preview and copy the finished CSS code.
This generator writes the CSS you would otherwise type by hand. Choose linear or radial, set the angle for linear gradients, and give each colour stop a colour and a position between 0 and 100 percent. The preview box repaints on every change, so you see the result before you copy anything. The code block contains three lines: a solid fallback colour for browsers that ignore gradients, the -webkit- prefixed gradient for older WebKit engines, and the standard gradient property. Stops are sorted by position before they are written out, so the output is always valid CSS even if you enter the stops in a different order; positions are clamped to the 0-100% range and rounded to one decimal. The tool writes plain CSS declarations only — it does not generate Tailwind classes, handles, or SVG gradients.