Toolvist

Generador de degradados CSS

Crea degradados CSS lineales y radiales visualmente, ajusta paradas de color y ángulos, y copia el CSS. Generador de degradados CSS con vista previa en vivo.

Generador de degradados CSS gratuito

El generador de degradados te permite crear degradados CSS lineales y radiales con vista previa en vivo. Ajusta el ángulo, los colores y las paradas, y copia el CSS.

Gradients are usually combined with the Glassmorphism CSS Generator and the CSS Box Shadow Generator. To build a palette the gradient can draw from, the Color Harmony Generator is the starting point.

Cómo usar Degradado CSS

  1. 1 Choose a gradient type: linear, radial or conic.
  2. 2 Add colour stops and drag them along the axis to position them.
  3. 3 Set the angle for a linear gradient, or the position for a radial one.
  4. 4 Copy the generated `background` declaration.

Cómo usarlo

Elige el tipo de degradado, fija el ángulo para los lineales, selecciona colores y posiciones de parada, y copia el CSS generado.

  • Compatible con degradados lineales y radiales
  • Paradas de dos colores con posiciones ajustables
  • La vista previa se actualiza mientras escribes

Preguntas frecuentes

What is the difference between a linear and a radial gradient?

A linear gradient interpolates along a straight line defined by an angle, which suits a background that gets lighter toward one side. A radial gradient interpolates outward from a centre point, which suits a spotlight or a glow. A conic gradient rotates around a centre, which is used for pie charts and colour wheels.

Why do my gradients look banded or striped?

Because the interpolation happens in sRGB, which is not perceptually uniform. Across a gradient between two distant colours, the perceived change is not smooth and visible steps appear. The fix is either to add intermediate colour stops to smooth the transition, or to interpolate in a better colour space by specifying a hue interpolation method.

Are gradients hard on performance?

Generally no for static backgrounds, because they are painted once. Animating a gradient is a different matter, since interpolation itself would have to be recomputed. For animation, the cheap approach is to keep the gradient static and animate something over it — the background position of an oversized gradient, for example.

Herramientas para desarrolladores relacionadas

Ver todo en Herramientas para desarrolladores →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Degradado CSS:

Explorar el directorio completo →