Skip to content
AZ Tools

CSS Filter Playground

Visually compose blur, brightness, contrast, hue, sepia, invert, and more — copy the CSS filter or Tailwind arbitrary value.

Preview
AZ Tools
CSS
filter: none;
Tailwind
filter-none

How to use

  1. Adjust sliders or click a preset to start.
  2. Optionally drop an image to preview the filter on real content.
  3. Copy the CSS rule or Tailwind class.

About this tool

Show

Build a CSS filter chain visually — blur, brightness, contrast, grayscale, hue-rotate, invert, saturate, sepia and opacity — on a live preview, and copy the finished declaration. Two things about filters are worth knowing before you ship one. They are applied in the order written and the order changes the result: blurring and then brightening is not the same picture as brightening and then blurring. And any non-none filter makes the element a containing block for fixed and absolutely positioned descendants, which is the usual explanation for a position: fixed header that suddenly scrolls away after someone added a filter to a wrapper. Everything runs in the page, and the image you preview against never leaves your device.

Frequently asked questions

Why isn't blur on the slider in px tiny like a usual UI shadow?

CSS blur uses a Gaussian radius — values past ~10px are noticeable. The slider caps at 20px; bigger blurs are rarely useful in product UI.

What does 'invert' do to colors?

Replaces each channel with 255 − value. Useful for dark-mode tricks, but it inverts the entire image including photos — usually you want it only on icons or text.

Why are the unmodified sliders ignored in the output?

The CSS filter rule only includes the functions you've actually changed (e.g. brightness(100%) is the default and is omitted).

Tailwind class with arbitrary value?

Tailwind has built-in shortcuts (blur-md, contrast-125) but not every value you might pick. The arbitrary filter-[…] class lets you ship any filter as a utility — useful when prototyping.

Related tools