CSS Gradient Generator
Light you can shape
Drag the nodes. Sculpt an OKLCH mesh that never turns gray. Copy CSS, Tailwind, or SCSS.
From the makers of Color Extractly for Figma →
Curated
Need a spark?
Hand-picked gradients and colour ramps from the Color Extractly library. Click a gradient to load it into the editor; click a ramp step to copy its hex.
Library
Your library
Click a gradient to load it back into the editor; click a ramp step to copy its hex.
Gradients
Colour ramps
Saved in this browser. Want them in your account? Get a magic link, no password needed. Figma sync is coming soon.
For Figma
Take your colors into Figma
Gradient Studio is built by the team behind Color Extractly: extract palettes from any code, check contrast with PAS scoring, and turn inspirations into real Figma variables. Curious first? Try the interactive demo.
FAQ
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. Use the hold-to-compare button in the editor 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. The heart button keeps your gradients in this browser, no signup needed. With a free RAIKEN account (magic link, no password) your saved gradients will sync to your member area, and syncing into the Color Extractly plugin in Figma is on the roadmap.
How do I use these colors in Figma?
Color Extractly brings palettes, contrast checks, and design tokens straight into Figma. Paste any of the hex values from this page into the plugin to build palettes and variables from them.