ToolPal

CSS 滤镜生成器

通过实时预览创建 CSS 滤镜效果。调整模糊、亮度、对比度、灰度、色调旋转、饱和度、棕褐色等,然后复制即用 CSS。

预设

模糊0px
亮度100%
对比度100%
灰度0%
色调旋转0deg
反转0%
不透明度100%
饱和度100%
棕褐色0%

预览图像 URL(可选)

CSS filter preview
filter: none;

CSS filter 属性

CSS filter 属性将模糊或颜色偏移等图形效果应用于元素。多个滤镜可以组合使用,从左到右依次应用。

使用方法

通过实时预览创建 CSS 滤镜效果。调整模糊、亮度、对比度、灰度、色调旋转、饱和度、棕褐色等,然后复制即用 CSS。

  1. 1Start with a preset to see what's possible: Grayscale turns the image black and white, Vintage adds warmth and reduces contrast, Dramatic boosts contrast for a punchy look. Presets are a quick starting point — every slider is still adjustable afterward.
  2. 2Fine-tune individual filters with the sliders. Brightness and contrast together control overall exposure. Saturate adds or reduces color intensity — useful for making a dull photo pop without changing any other property. Hue-rotate shifts all colors around the wheel by a given number of degrees.
  3. 3Paste a URL to any image you want to preview in the image URL field. The default demo image is a landscape photo — swap it with your own image URL to see how the filters actually look on the content you're styling.
  4. 4When you're happy with the result, click Copy to get the CSS line. Paste it directly into your stylesheet. Apply it to an img element, a div with a background-image, or any other element. The filter applies to the element and all its children.

主要功能

  • Live preview — see filter changes in real time without refreshing or re-applying
  • 9 filter controls — blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate, sepia
  • Quick presets — 9 one-click starting points including Grayscale, Vintage, Dramatic, Cool, and Warm
  • Custom image URL — preview filters on your own images, not just the demo photo

常见问题

了解更多