CSS gradient generator Keep your gradients vivid
From the makers of Design Token Studio for Figma →
Your library
Keep gradients here and return to them anytime.
Color ramps
Keep colors from this gradient, or save a ramp from the gallery below.
Use on other devices
Saved in this browser. Sign in with your email to sync across devices and with Design Token Studio in Figma. No password needed.
Sign inChoose a starting point
Pick the job. The editor opens with a type, angle and colors that fit it.
Need a spark?
Hand-picked gradients and color ramps from Design Token Studio, formerly Color Extractly. Pick a gradient to load it into the editor, or a ramp step to copy its hex.
Export and share
Copy it as code, send it as a link, take it into Figma.
-
Share link
The whole gradient in one URL. Opens without an account.
-
Figma
Paste it as a vector. For variables, Design Token Studio opens your library inside Figma.
-
Images
PNG, WebP or JPG up to 3840 px, and SVG as a vector for linear and radial.
Good to know
Why do my CSS gradients look gray in the middle?
Classic CSS gradients blend in sRGB, and the straight line between two vivid colors often passes through low-saturation territory: that's the gray dead zone. OKLCH interpolation follows the way humans actually perceive color, so a blue-to-pink gradient stays vivid the whole way. Switch the editor between sRGB and OKLCH to see the difference on your own colors.
Which browsers support OKLCH gradients?
All current versions of Chrome, Edge, Firefox, and Safari support linear-gradient(in oklch, ...). For older browsers, ship the sRGB fallback first and the OKLCH version second: browsers that understand it win, the rest stay safe. The Fallback CSS panel gives you both blocks ready to paste.
Can I use these gradients with Tailwind?
Yes. Switch the output to Tailwind and you get an arbitrary-value utility class you can drop straight into your markup. For repeated use, move the gradient into your theme as a custom background image.
Can I save my gradients?
Yes. Save keeps a gradient in this browser, no signup needed. Sign in with your email (no password) and your library follows you to every device and into Design Token Studio in Figma, under Inspiration, Your Storage.
How do I use these colors in Figma?
Copy for Figma puts the gradient on your clipboard as a vector you paste onto the canvas. For variables and styles, Design Token Studio (formerly Color Extractly) opens your synced library inside Figma and turns its colors into variables and design tokens.