Generador de Degradados CSS Gratis Online | Fairmont AI

Genera degradados CSS online gratis. Crea degradados lineales y radiales visualmente y copia el código CSS.

Our free CSS Gradient Generator lets you create stunning linear and radial CSS gradients visually with a live preview. Add multiple color stops, adjust their positions and colors using intuitive controls, and get production-ready CSS code to copy with one click. Perfect for web designers and developers who want to create beautiful gradient backgrounds for websites, apps, and UI elements.

How to Create a CSS Gradient

  1. Choose Gradient Type: Select Linear for a directional gradient or Radial for a circular gradient emanating from the center.
  2. Customize Colors and Stops: Click any color swatch to change its color. Drag the position slider to move a color stop. Add more stops with the Add Stop button.
  3. Copy the CSS Code: The CSS code updates in real time. Click Copy to paste it directly into your stylesheet.

Frequently Asked Questions

What is a CSS gradient?

A CSS gradient is a smooth transition between two or more colors generated by the browser. They are defined using CSS functions like linear-gradient() and radial-gradient() without needing image files.

What is the difference between linear and radial gradients?

Linear gradients transition colors along a straight line (at a specified angle). Radial gradients transition colors outward from a central point in a circular or elliptical pattern.

How do I add a gradient to my website?

Copy the CSS code from the generator and paste it as the background property of any CSS selector. For example: .hero { background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%); }

Can I add more than 2 color stops?

Yes! Click 'Add Stop' to add additional color stops. You can have as many color stops as you need for complex multi-color gradients.

What is a color stop position?

The position (0-100%) determines where along the gradient a specific color appears. 0% is the start and 100% is the end. Intermediate stops control where transitions happen.

Can I use transparency in gradients?

The color picker supports solid colors only. For transparency, manually edit the copied CSS to use rgba() or hsla() values.

What browsers support CSS gradients?

All modern browsers (Chrome, Firefox, Safari, Edge) support CSS gradients. They've been widely supported since around 2012 and require no vendor prefixes in modern CSS.

Can I use CSS gradients as background for text?

Yes! Use the -webkit-background-clip: text technique with background-clip: text and color: transparent to apply gradients to text.