Combine blur, brightness, contrast, saturation, hue-rotate, grayscale and drop-shadow into one filter, preview the result, and copy the CSS.
A function at its no-op value is left out of the output, so the CSS says only what it actually does. Filters apply in order, left to right.
Every function is at its no-op value, so there is no filter to write.
CSS Filter Generator runs entirely on your device — nothing is uploaded.
You’re on the Free plan. Compare plans
`filter` takes a list of functions and applies them in order, each one working on the output of the last. That makes it genuinely sequential: `grayscale(1) sepia(1)` gives a sepia image, while `sepia(1) grayscale(1)` gives a grey one, because the second function has already lost the colour the first added.
The ranges are not all the same and the useful ones run past 100%. `brightness`, `contrast` and `saturate` take any non-negative value, so 150% is a real and often wanted setting; `grayscale`, `sepia`, `invert` and `opacity` cap at 100% because there is no more of them to have. The controls here reflect each function's real range rather than clamping everything to a single slider.
`drop-shadow()` is not `box-shadow`. It follows the alpha channel of whatever it is applied to, so it shadows the visible shape of a transparent PNG or an icon rather than its rectangular box — which is exactly what you want for a logo and exactly what box-shadow cannot do. It also has no spread and no inset.
Filters have a cost that is easy to miss: any element with a filter other than `none` gets its own compositing layer, and a filter on a large area re-renders on every frame it changes. A blur across a full-screen element is the usual culprit when a page that looks static feels slow.
Yes. Each function receives the output of the one before it, so grayscale followed by sepia gives a sepia result while sepia followed by grayscale gives a grey one.
For some functions. Brightness, contrast, saturate and blur have no upper bound, so 150% or 200% is valid and useful. Grayscale, sepia, invert and opacity are fully applied at 100% and clamp there.
drop-shadow follows the alpha channel, so it traces the visible shape of a transparent image or an icon. box-shadow always follows the element's box. drop-shadow also has no spread value and cannot be inset.
filter affects the element and its contents. backdrop-filter affects what is behind the element, showing through it, which is what frosted glass panels are built on.
They can be. Any filter other than none promotes the element to its own compositing layer, and a large blurred area re-renders whenever it changes. Blur over a full-screen element is the most common cause of an otherwise static page feeling sluggish.