Type

Angle

Colors

Extras

Actions

Your Guide to Creating Stunning CSS Gradients

CSS gradients are a lightweight, powerful way to create beautiful backgrounds and modern UI elements without using images. This tool gives you full visual control to build everything from simple two-tone fades to complex, multi-color works of art.


How to Create Your Gradient: A Step-by-Step Guide

  1. Choose Your Gradient Type: Start by selecting either a Linear gradient, where colors transition along a straight line, or a Radial gradient, where they radiate outwards from a central point. The available controls will update based on your choice.
  2. Define Your Colors: This is where the magic happens. You can have as few as two or as many as ten "color stops."
    • Click the square color swatch to open a color picker for each stop.
    • Use the slider next to each color to adjust its position (from 0% to 100%) within the gradient, creating smooth fades or sharp, distinct bands of color.
    • Use the "+ Add Color" and "×" buttons to add or remove stops for more complex designs.
  3. Adjust the Flow and Shape: For Linear gradients, use the interactive dial, the slider, or the number input to set the exact Angle of the color transition. For Radial gradients, you can select the Shape (Ellipse or Circle).
  4. Get the Code & Share: As you make adjustments, the main preview updates instantly, and the production-ready code is generated in the box below. Click the Copy button to grab the CSS `background` property and paste it into your stylesheet. Want to save your work or show it to a colleague? Click "Copy Shareable Link" to create a unique URL that perfectly recreates your gradient when opened.

Pro-Tip: Add Texture

For a modern, textured look, enable the "Add Noise Texture" option. This applies a subtle, SVG-based noise pattern over your gradient, giving it a stylish, grainy feel that can add depth and character to your designs.