CSS Filter and Backdrop Filter Generator

Adjust CSS filter values with sliders and warm or monochrome examples on a local sample.

On-device No sign-up Free to use

Generate filter CSS controls

?

Optional. x y blur #hex, for example 2 2 6 #1f2937. Offsets run from -100 to 100 and blur from 0 to 100.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use generate filter css to update it.

Result

Showing an example.

Increase the sample contrast to 120% while leaving the other filter effects neutral.

Generated a filter: contrast(120%). Copy the CSS below.

Loading the tool. Your result will appear here.

https://usefreetools.net/css-filter-generator · 20 November 2026

Was this helpful?

How to use CSS Filter and Backdrop Filter Generator

  1. Choose filter to affect the element and its contents, or backdrop-filter to affect what shows behind it.
  2. Adjust the effects in the local preview, or apply a Warm or Monochrome example and review its values. Optionally add a drop shadow as x y blur #hex.
  3. Select Generate filter CSS and copy the rule. Replace .target with your selector and check the result with your actual content and background.

Example: CSS Filter and Backdrop Filter Generator

Increase the sample contrast to 120% while leaving the other filter effects neutral.

You add
Where the filter applies: filter; Blur (px): 0; Brightness (%): 100; Contrast (%): 120; Saturation (%): 100; Grayscale (%): 0; Sepia (%): 0; Hue rotation (deg): 0; Invert (%): 0; Opacity (%): 100
You get
Generated a filter: contrast(120%). Copy the CSS below.

Options

Filter target
filter changes the element’s rendered pixels. backdrop-filter changes pixels behind it, so an opaque background can hide the effect. The local sample has a partly transparent surface for comparison.
Blur, brightness and contrast
Blur accepts 0 to 50 pixels. Brightness and contrast accept 0% to 400%, where 100% is neutral.
Color and opacity effects
Saturation accepts 0% to 400%. Grayscale, sepia, invert and opacity accept 0% to 100%; hue rotation accepts 0 to 360 degrees. Check whether text remains readable after changing effects.
Drop shadow
Enter one shadow as x y blur #hex, for example 2 2 6 #1f2937. X and Y accept -100 to 100 pixels and blur accepts 0 to 100 pixels. This filter shadow has no spread or inset parameter.

Supported inputs and limits

  • The functions appear in this fixed order: blur, brightness, contrast, drop-shadow, grayscale, hue-rotate, invert, opacity, saturate, sepia.
  • Neutral settings are left out; an entirely neutral result uses none.
  • Numeric values are bounded and CSS output rounds to two decimal places.
  • The tool does not accept arbitrary CSS or external filter URLs.
  • Its sample is constructed locally; it does not edit an uploaded image.
More details

Check backdrop-filter support and the real background where you apply the copied rule.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Filter and backdrop-filter affect different pixels

A filter changes the element’s rendering, including its contents. A backdrop filter changes pixels behind the element. Use the generated property that matches the part of your page you intend to change.

Questions about CSS Filter and Backdrop Filter Generator

Does filter order matter?

Yes. Each function receives the previous function’s result. The tool keeps one fixed order so the copied rule matches its preview.

Why is a backdrop filter hard to see?

It filters what is behind the element. An opaque background can hide the effect, and a flat backdrop may show little change.

Can I paste a filter URL?

No. External SVG filters and URLs are outside this tool’s supported settings.

Page updated · Project managed by Tony Hines · Report a problem with CSS Filter and Backdrop Filter Generator