Utility Tools

CSS Gradient Generator - Linear & Radial

Create beautiful CSS gradients with live preview. Linear and radial gradients with custom colors.

Part of Yoopla's 445+ free browser tools.

Gradient Preview

Gradient Settings

CSS Code

background: linear-gradient(90deg, #ff6b6b, #4ecdc4);

How to Use CSS Gradient Generator

  1. 1

    Select two colors using color pickers.

  2. 2

    Choose gradient type (linear or radial).

  3. 3

    For linear gradients, select direction.

  4. 4

    Copy CSS code or download as PNG image.

Frequently Asked Questions

How do I use the CSS code?

Copy the generated CSS and apply it to any element's background property in your stylesheet.

Can I use more than 2 colors?

This tool supports 2-color gradients. For multi-stop gradients, you can manually edit the CSS code.

What browsers support CSS gradients?

All modern browsers support CSS gradients. For IE9 and older, use a fallback solid color.

Share this tool

Share this tool with others

Related Tools

Explore the ecosystem around

Category: Utility Tools

Use this tool as your starting point, then branch into adjacent tools, topic hubs, comparisons, and free alternatives.

Related Tools

Discover other tools that work great with CSS Gradient Generator

Topic Hubs

Go deeper into pillar pages and connected workflows

Related Articles & Guides

Learn more about using tools effectively

Tool Comparisons

Compare features and choose the right tool

Best Tools Collections

Curated lists of top-rated tools

CSS Gradient Generator - Linear & Radial | Yoopla