Build a beautiful gradient and grab the CSS in seconds. Pick two colours and an angle, see it live, and copy the ready-to-use code straight into your stylesheet.
A subtle gradient adds depth without shouting — keep the two colours close in hue for a smooth, professional look, or contrasting for a bold hero. The angle sets the direction (135° is a popular diagonal). Copy the background line straight into your CSS. Use gradients sparingly, on heroes, buttons or cards, rather than everywhere, and always check text contrast on top of them.
Copy the background line and paste it into your element's CSS, e.g. on a div or button. The gradient renders instantly in any modern browser.
135° (a diagonal) is a popular, natural-looking default. 90° is left-to-right, 180° top-to-bottom — experiment with the slider to see the effect.
Check contrast against the lighter and darker ends of the gradient. Use the colour contrast checker, and add a subtle overlay if needed.
This tool is free and runs entirely in your browser. The link above is an affiliate link: we may earn a commission if you sign up, at no extra cost to you, and it never changes our honest take.