What next?
How to use CSS Gradient Generator
- Enter two colours. Names such as crimson and HEX codes both work.
- Set the angle in degrees.
- Watch the preview, then tap Copy and paste the CSS into your stylesheet.
Something not working? Report a problem and it will be looked at.
Related guides
Frequently asked questions
How do I use it?
Paste the line into any CSS rule.
Are my files uploaded?
No. Everything runs in your browser and your data never leaves your device.
Related tools
HEX to RGB ConverterConvert HEX colour codes to RGB and HSL values.
Colour Contrast CheckerCheck text and background colours against WCAG AA and AAA contrast requirements.
Image CompressorShrink JPG, PNG and WebP images to a size you type in, such as 200 KB, or by quality. Batch supported.
Image ResizerResize images to an exact width while keeping the aspect ratio. Batch supported.