US LA
0 0
:
0 0
:
0 0
US NY
0 0
:
0 0
:
0 0
FR PAR
0 0
:
0 0
:
0 0
RU MOW
0 0
:
0 0
:
0 0
TH BKK
0 0
:
0 0
:
0 0
AU SYD
0 0
:
0 0
:
0 0
โ€ฆ
๐ŸŽจ

CSS Gradient Generator

Create custom CSS gradients with real-time preview and ready-to-use code

1

Choose your colors

2

Gradient direction

ยฐ
โœจ

Preset gradients

๐ŸŽจ

Palette generator

3

Preview & CSS Code

Real-time preview of your gradient
Text CSS code

CSS

๐Ÿ”’ 100% private: your data stays on your device

What is a CSS gradient?

A CSS gradient is a smooth transition between two or more colors. CSS gradients allow you to create sophisticated backgrounds without using images, which improves your website's performance. They are supported by all modern browsers and offer unlimited creative flexibility for your designs.

Features

๐ŸŽจ

All gradient types

Create linear, radial, or conic gradients with multiple customizable color stops.

๐Ÿ‘๏ธ

Real-time preview

Instantly visualize your changes with different preview modes (square, wide, circle, text).

๐Ÿ“‹

Ready-to-use CSS code

Copy the generated CSS code with browser prefixes for maximum compatibility.

๐Ÿ”’

100% private & secure

All processing happens in your browser. Your data never leaves your device.

CSS gradient types

โ†—๏ธ

Linear

Color transition along a straight line, with angle and direction control.

๐ŸŽฏ

Radial

Circular or elliptical gradient radiating from a central point outward.

๐ŸŒ€

Conic

Cone-shaped gradient with colors rotating around a central point.

How to create a CSS gradient?

1

Choose the type

Select between linear, radial, or conic gradient based on your needs.

2

Add colors

Add as many colors as you want and adjust their positions.

3

Customize

Adjust the angle, direction, or center position depending on the gradient type.

4

Copy the code

Copy the generated CSS code and use it directly in your project.

Frequently asked questions

Is this gradient generator free?

Yes, 100% free and unlimited. No registration required, create as many gradients as you want.

Are CSS gradients compatible with all browsers?

Linear and radial gradients are supported by all modern browsers (Chrome, Firefox, Safari, Edge). Conic gradients have been supported since 2019. For older browsers, use the browser prefixes.

Can I use more than 2 colors?

Yes! You can add as many colors as you want. Click "Add color" to create more complex gradients.

How do I use the generated CSS code?

Simply copy the code and paste it into your CSS element's "background" property. The code includes browser prefixes if the option is enabled.

Can I download the gradient as an image?

Yes, click "Download PNG" to get a high-resolution image (800x800 pixels) of your gradient.