CSS Gradient Generator

Create and preview custom CSS gradients.

About the CSS Gradient Generator

This tool provides a user-friendly interface for creating CSS gradients. Instead of writing complex CSS by hand, you can visually design your gradient by picking colors, setting the angle, and choosing between linear and radial types. The tool generates the cross-browser compatible CSS code for you in real-time, which you can then copy and paste directly into your stylesheets. It's perfect for web designers and developers looking to add beautiful, modern gradients to their sites.

How to Use This Tool

  1. Choose Colors: Use the color pickers to select a starting and ending color for your gradient.
  2. Set Gradient Type: Select either "Linear" or "Radial" for the type of gradient you want.
  3. Adjust Angle (Linear): If you've selected a linear gradient, use the slider to adjust the angle.
  4. Preview and Copy: A live preview of your gradient is shown. The generated CSS code appears in a text box below, ready to be copied with a single click.