Colour Contrast Checker
Check if your text and background colours are readable and meet WCAG accessibility guidelines (AA and AAA).
Design toolsFree tool · Design tools
Design linear, radial and conic backgrounds with this CSS gradient generator: drag colour stops, set opacity, start from 16 presets, copy the CSS and download a full HD PNG.
Colours
Presets
Everything runs in your browser. Nothing you type is sent anywhere, and it is cleared when you close this page.
Free · no sign-up · runs in your browser, nothing is uploaded
Need help fixing it?
Our developers check your site's speed, SEO and mobile experience and send you a short list of fixes. No charge, no obligation.
Gradients make buttons, banners and backgrounds look modern without heavy images. Writing the CSS by hand means guessing angles and percentages. This CSS gradient generator lets you design visually and copies clean code for you. It works for websites, landing pages, email headers made as images, presentation slides and phone wallpapers. A CSS gradient is also tiny compared with a background photo, so your page loads faster, and it stays sharp on every screen size because the browser draws it.
The code has two lines. The first sets a plain background colour, and the second sets the gradient. Very old browsers that cannot draw gradients use the plain colour, and all modern browsers use the gradient. Paste both lines into the CSS rule for your element, for example a hero section or a button.
Everything runs in your browser. Nothing is uploaded, and the PNG is created on your device.
FAQ
Linear and radial gradients work in every modern browser, and conic gradients work in current versions of Chrome, Edge, Firefox and Safari. The fallback colour in the code covers very old browsers.
A linear gradient blends along a straight line at an angle. A radial gradient spreads out from a centre point in a circle or ellipse. A conic gradient sweeps around a centre point, like the hands of a clock.
Yes. Lower the opacity of any colour stop. The code uses rgba() for those colours so the background behind shows through.
Yes. Choose a size such as 1920 × 1080 or 1080 × 1920 and download a PNG, made in your browser.
More free tools
Check if your text and background colours are readable and meet WCAG accessibility guidelines (AA and AAA).
Design toolsCreate a favicon set (ICO and PNG in all common sizes) from your logo or from text, with the HTML code to…
Design toolsExtract the colour palette and fonts of any website. Copy hex codes, see Google Fonts in use and get inspiration for your…
Design toolsTell us what you want to build. You get ideas, a timeline and a clear quote, free.