Tool guide
About this tool.
- The filter property applies graphical effects such as blur, color shifts and inversion to an element and everything inside it. backdrop-filter applies the same functions to whatever is painted behind the element, which is how frosted-glass cards and sticky blurred headers are made.
- Functions run in the order they are written, and this tool prints them in a fixed order: blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate, sepia. A function left at its identity value (0 for blur, grayscale, hue-rotate, invert and sepia; 100% for brightness, contrast, opacity and saturate) does nothing and is omitted. If every function is at identity the output is none.
- backdrop-filter only shows when the element itself is translucent, so the preview draws a semi-transparent card over a patterned backdrop. Safari still needs the -webkit- prefix, so that line is printed first.
- Tune photo looks: warm sepia, black and white, boosted contrast or a hue shift.
- Build frosted-glass panels, modals and navigation bars with backdrop-filter.
- Dim or invert images for dark mode without editing the files.
- Copy a single declaration and apply it to any selector.
Choose the Target: filter for the element itself or backdrop-filter for what is behind it.
Move the sliders for blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate and sepia, or pick a sample from Apply sample.
Watch the demo scene (or the frosted card over the patterned backdrop) update as you drag.
Copy the CSS or download filter.css with the audit report; sliders at their default value are left out of the output.
- Subtle punch → .filter { filter: brightness(110%) contrast(120%) saturate(130%); }
- Frosted blur → .filter { backdrop-filter: blur(8px) brightness(105%) saturate(150%); }
- Vintage sepia → .filter { filter: contrast(90%) saturate(120%) sepia(60%); }
- Black and white → .filter { filter: contrast(115%) grayscale(100%); }
- Hue shift → .filter { filter: saturate(120%) hue-rotate(180deg); }
- Everything at identity → .filter { filter: none; }
- Blur is limited to 0 to 50 px, hue-rotate to 0 to 360 deg, brightness, contrast and saturate to 0 to 300 %, and the other functions to 0 to 100 %. Values outside the range are rejected, never clamped.
- A function at its identity value is omitted; when all are at identity the output is a .filter rule containing filter: none; or the backdrop-filter pair set to none.
- The order of functions is fixed: blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate, sepia.
- backdrop-filter needs a translucent or transparent background on the element to be visible.
- The demo scene, card and patterned backdrop in the preview are not exported.
- Everything is generated locally from the validated slider values.