CSS filter property is used to apply effects to an element. Filter is CSS3 property, which is commonly used to render images, background.
filter: none|grayscale()|blur()|brightness()|contrast()|drop-shadow()|hue-rotate()|invert()|opacity()|saturate()|sepia();
CSS Filter property, converts the image in to grayscale, default value is 0%, value of 100% is completely grayscale.
Example 1: CSS filter grayscale
CSS Filter property, converts the image in to brightness, default value is 100%, value of 0 is completely dark.
Example 3: CSS filter brightness