CSS ફિલ્ટર જનરેટર

Create and visualize custom CSS image filters

Preview

Preview Image

CSS Code

filter: none;

Filter Controls

0px
100%
100%
0%
0deg
0%
100%
100%
0%

Popular Filters

Vintage

Vintage Filter Preview

Black & White Filter Preview

Neon Glow

Neon Glow Filter Preview

Polaroid

Polaroid Filter Preview

Vintage Film

Vintage Film Filter Preview

Digital Art

Digital Art Filter Preview

How to Use CSS Filters

What are CSS Filters?

CSS Filters allow you to apply graphical effects like blur or color shifting to an element. They are commonly used for images, backgrounds, and borders.

Filters can be used to create visual effects, enhance images, or create unique design elements without the need for external image editing tools.

Supported CSS Filter Properties

  • blur()- Applies a Gaussian blur to the element.
  • brightness()- Adjusts the brightness of the element.
  • contrast()- Adjusts the contrast of the element.
  • grayscale()- Converts the element to grayscale.
  • hue-rotate()- Applies a hue rotation to the element.
  • invert()- Inverts the colors of the element.
  • opacity()- Adjusts the opacity of the element.
  • saturate()- Saturates or desaturates the element.
  • sepia()- Converts the element to sepia.

How to Apply Filters

Using the CSS code generated by this tool, you can apply filters to any HTML element. Here's how:

1. Select an Element

Choose the HTML element you want to apply the filter to. This could be an image, a background, or any other element.

2. Add a Class or ID

If the element doesn't already have a class or ID, add one to make it easier to target with CSS.

3. Apply the Filter

Use the CSSfilterproperty in your stylesheet or inline style to apply the generated filter.

.filtered-image { filter: blur(5px) brightness(110%) contrast(120%); }

4. Combine Multiple Filters

You can combine multiple filter functions by listing them one after another, separated by spaces.

filter: blur(2px) brightness(110%) contrast(120%) saturate(150%);

Browser Compatibility

CSS filters are widely supported in modern browsers, including Chrome, Firefox, Safari, Edge, and Opera. However, older browsers like Internet Explorer do not support them.

Chrome Firefox Safari Edge IE 11+ (partial)

Related Tools