CSS Gradient Generator
Preview a two-colour linear or radial gradient and copy valid CSS for a website background.
Result
How to use CSS Gradient Generator
- Choose the start and end colours.
- Pick a linear or radial gradient. The angle applies to linear gradients.
- Copy the CSS declaration into the target element’s stylesheet.
Worked example
Apply linear-gradient(120deg, #071a31, #0f766e) to a header to blend navy into teal.
Frequently asked questions
Do I need to download an image?
No. The gradient is a native CSS background.
Does the angle affect a radial gradient?
No. Radial output is a circle centred in the element.
Can I use this with an existing fallback colour?
Yes. Keep a solid background-colour declaration before the gradient declaration.
Related tools
Image Watermark GeneratorPlace a text watermark on a photo. Choose its position, colour and opacity, preview the result and download a new PNG.Photo Collage MakerArrange up to nine photos in a grid, adjust the number of columns and download your collage as a square PNG.Meme GeneratorAdd classic top and bottom captions to your own image. Preview outlined text and download the finished meme as a PNG.