Gradient Background Generator
Pick two colors and a direction to get the CSS code for a smooth gradient background.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Gradient Background Generator
- Pick the first color.
- Pick the second color.
- Choose the direction the colors run in.
- Copy the CSS code into your style sheet.
Frequently asked questions
Does this work in every browser?
Yes. Linear gradients work in all modern browsers.
Is anything uploaded?
No. The code is written in your browser and nothing is sent anywhere.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.