CSS Gradient Generator

Build linear or radial gradients with up to 5 color stops. Copy the CSS, download a PNG swatch, or use the hex codes directly in GIMP.

Press Ctrl+D (or ⌘D on Mac) to bookmark this page.
Live Preview

Gradient Presets

Using Gradients in GIMP

Once you have the hex codes from your gradient, you can recreate it exactly in GIMP:

  1. Select the Blend Tool (keyboard shortcut L).
  2. Click the gradient preview in the Toolbox to open the Gradient Editor.
  3. Create a new gradient and add color stops matching your hex values.
  4. Double-click each stop to enter an exact hex code via the HTML notation field.
  5. Drag the Blend Tool across your canvas to apply the gradient.

Saving Custom Gradients

In GIMP 3.x, go to Windows → Dockable Dialogs → Gradients, right-click your custom gradient, and save it as a .ggr file. This lets you reuse it across projects.

Gradient Map for Photo Effects

Use Colors → Gradient Map to recolor an entire image using a gradient. Dark tones map to the first color, light tones to the last - Great for duotone and vintage effects.