How to use CSS Filter and Backdrop Filter Generator
- Choose filter to affect the element and its contents, or backdrop-filter to affect what shows behind it.
- 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.
- 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.
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.