Toolvist

Generador de filtros CSS

Ajusta escala de grises, sepia, desenfoque, brillo, contraste y más, y copia el filtro CSS.

Vista previa

Vista previa del filtro

Generador de filtros CSS gratuito

El Generador de filtros CSS te permite construir efectos de filtro de imagen visualmente y copiar el CSS exacto. Ajusta escala de grises, sepia, desenfoque, brillo, contraste, saturación, rotación de matiz y más.

Filter effects pair with the CSS Box Shadow Generator and the Glassmorphism CSS Generator, which use the same properties. To apply a filter to a whole image rather than a preview, the Image to Grayscale Converter is the tool.

Cómo usar Filtro CSS

  1. 1 Drop an image in, or apply the sliders to any element previewing on the page.
  2. 2 Adjust each function independently: grayscale, sepia, saturate, brightness, contrast, hue-rotate, blur, invert and opacity.
  3. 3 Watch the generated `filter:` declaration build up as you go, listing only the functions you actually changed.
  4. 4 Copy the CSS and paste it into your stylesheet.

Cómo usarlo

Mueve los deslizadores y observa la imagen de muestra actualizarse en vivo. Cuando estés satisfecho, copia el CSS de filtro generado en tu hoja de estilos.

  • Nueve controles de filtro incluidos blur, brightness y hue-rotate
  • Imagen de vista previa en vivo
  • Copia el CSS de filtro generado
  • Restablece cada deslizador a los valores por defecto
  • Se ejecuta enteramente en tu navegador

Preguntas frecuentes

What is the difference between `filter` and `backdrop-filter`?

`filter` transforms the element itself, including its children and its text. `backdrop-filter` transforms whatever is painted behind the element, while leaving the element's own content untouched — which is how the frosted-glass effect is built. They take the same function list, so the values you tune here transfer directly.

Why does a blur look different from a filter on the same radius?

A blur is a convolution: it samples neighbouring pixels and averages them, so its cost scales with the radius and with the element size. The other functions are per-pixel colour operations with a fixed cost. A large blur radius on a full-screen element is one of the more expensive things you can ask a browser to composite.

Does applying a filter affect performance?

It can, and the reason is worth knowing. A filter forces the browser to promote the element to its own compositing layer and then composite the result, which costs GPU memory. Applying one filter to a container is far cheaper than applying the same filter to fifty small elements inside it.

Herramientas de imagen y color relacionadas

Ver todo en Herramientas de imagen y color →

También te puede interesar

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

Explorar el directorio completo →