designwithfocus

Purple to Green Gradient Generator

Make a purple to green gradient: CSS, PNG, wallpaper.

Free No sign-up Runs in your browser
CSSbackground: linear-gradient(135deg, #800080, #008000);

How to use Purple to Green Gradient Generator

  1. Choose purple as the start colour and green as the end colour.
  2. Set the angle and the gradient type, then preview it live.
  3. Copy the CSS or download the gradient as a PNG.

Purple to Green gradient CSS

A purple to green gradient blends #7C3AED into #22C55E. The angle sets the direction of the blend.

The CSS below is a 135-degree linear gradient. Change the angle in the tool to rotate it.

background: linear-gradient(135deg, #7C3AED 0%, #22C55E 100%);

Gradient types

Linear gradients blend in a straight line, radial gradients blend out from a centre point, and conic gradients blend around a circle.

For text, apply the gradient to the background and clip it to the text.

FAQ

What is the CSS for a purple to green gradient?

Use background: linear-gradient(135deg, #7C3AED 0%, #22C55E 100%);

Can I download the gradient as an image?

Yes. Use the download button to save a PNG of the gradient.

Will the gradient print well?

Gradients print best on a solid background. Test a print before using one on a large area.

Can I add more colours?

Yes. Add a middle stop in the tool to blend through a third colour.

Report a problem with this tool