CSS Gradient Generator
Build a linear or radial CSS gradient, preview it live, copy the code or download it as a PNG.
Pick two or three colours, set the angle and stops, and the preview updates live. Copy the CSS into your stylesheet, or download the gradient as a PNG.
How to use
Choose linear or radial, pick two or three colours, and set the angle (linear only) and the stop positions. The preview updates as you change anything. Press Copy CSS to put the gradient rule on your clipboard, or Download PNG to save a 1200 × 800 image of the gradient. The third colour is optional — uncheck it for a two-colour blend.
Into any stylesheet or a style attribute, for example as the background of a section, button or card. The rule works in every modern browser.