Gradient Generator

Adjust gradient colors and effects, preview the background and generate CSS for your website.

Free

Linear

Simple directional blend

Preview
Color stops

#2563eb 0%, #ec4899 100%

Shape
CSS background
background:
  linear-gradient(135deg, #2563eb 0%, #ec4899 100%);

What is Gradient Generator tool?

Preview a two-color linear gradient and copy its CSS background declaration. Adjust the colors and angle to prepare a page background or a simple component accent. Explore a background for a landing page. Prepare a gradient accent for a card.

How to use it

  1. Choose the starting and ending colors.
  2. Adjust the gradient angle and inspect the preview.
  3. Copy the generated CSS into your stylesheet.

FAQ

The tool generates CSS background values for linear, radial, conic, layered, mesh, aurora, metallic, and other modern gradient styles.

Yes. Copy the generated declaration and use it in a CSS background or background-image property.

Yes. Preview and CSS generation run entirely in the browser without uploading color values.

Related Tools