CSS Gradient Generator

Design a linear, radial or conic gradient with your colours, see it live, and copy CSS ready for backgrounds or gradient text.

Design a gradient
linear-gradient(135deg, …)

Generator

How the tool works

Simple steps, all in your browser with no sign-up.

Pick colours

Or a preset.

Adjust the angle

With a live preview.

Copy CSS

For backgrounds or text.

Gradient types

TypeShapeGood for
linear-gradientA straight transition at an angleSection backgrounds and buttons
radial-gradientFrom the centre outwardsA glow behind an image or card
conic-gradientAround a point like a colour wheelPie charts and decoration

Tips for elegant gradients

  • Use two close colours from your brand; a calm gradient looks better than a loud one.
  • Set a solid colour before the gradient as a fallback; the tool adds it.
  • Text on a gradient must read on its lightest and darkest points: check with the contrast checker.
  • Take colours from your logo with the palette extractor.

Ready-made uses

UseCode
A dark layer over a hero imagebackground: linear-gradient(rgba(11,42,85,.7), rgba(11,42,85,.7)), url(hero.jpg) center/cover;
A gradient buttonbackground: linear-gradient(90deg, #f7931e, #c2417a);
A gradient borderborder: 3px solid; border-image: linear-gradient(90deg, #1557b0, #2f9e6a) 1;

Key terms

Short definitions of what you meet along the way.

Gradient
A smooth transition between two or more colours.
Colour stop
A colour at a given position within a gradient.
background-clip: text
A property that shows the background only inside text glyphs.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Is a CSS gradient faster than an image?

Yes. No file to download, and it stays sharp at any size.

Do all browsers support gradient text?

Modern browsers do, and the tool adds the -webkit- prefix for compatibility.

How do I add it in Elementor?

In section settings: Background, then Gradient, or paste the code in Custom CSS.

Want a design with a distinct colour identity?

We design sites in your brand colours with a modern style.

Contact us on WhatsApp