Create beautiful linear, radial and conic CSS gradients with live preview.
A CSS gradient generator is a free online design tool that lets you create beautiful gradients visually and generates the ready-to-use CSS code. Create linear, radial and conic gradients with multiple colour stops, adjust angles and directions, and copy the CSS with a single click — no coding knowledge required.
Create beautiful gradient backgrounds, buttons, hero sections and UI elements for websites and apps.
Generate gradients for mobile app backgrounds, cards and buttons in iOS and Android design.
Create gradient colour schemes for brand identities, packaging and marketing materials.
Design gradient backgrounds for social media posts, stories and profile headers.
A CSS gradient is a smooth transition between two or more colours defined in CSS without using an image file. Types: linear-gradient() (directional), radial-gradient() (circular) and conic-gradient() (pie chart style).
Linear: background: linear-gradient(90deg, #color1, #color2); Radial: background: radial-gradient(circle, #color1, #color2); Add more colour stops as additional comma-separated values.
Use rgba() or hex with alpha for your colour stops. Example: linear-gradient(to right, rgba(91,78,240,1), rgba(91,78,240,0)) creates a gradient that fades to transparent.
All modern browsers fully support CSS gradients: Chrome, Firefox, Safari, Edge and Opera. Internet Explorer 10+ has basic support. No prefix is required for modern browsers.