Gradient Generator
Build a linear, radial or conic CSS gradient with your own colour stops, copy the CSS or save it as a PNG.
Runs in your browser. Nothing leaves this device.
How to use Gradient Generator
- 1Pick the type and the angle, then set each colour and where it sits along the gradient.
- 2Add up to eight stops, or remove the ones you do not need.
- 3Copy the CSS line, or save the gradient as a PNG at the size you need.
Questions
Will the PNG match the CSS?
Yes. The PNG is drawn on a canvas with the same type, angle and stops, so it looks the same as the CSS at that size.
Why is the radial gradient a circle?
It uses a circle that reaches the farthest corner, so it looks the same at any width and height.
Is anything uploaded?
No. The gradient is built and saved in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.