grayscale()
Term side of the Card
Topic: Background
Unit title: grayscale()
Categories: Function
Explanation side of the Card
Explanation: The function used as a value for the `filter` property to convert an element's colors to shades of gray. The value can range from '0' (no effect) to '1' (full grayscale), which is useful for creating monochromatic effects or toning down the colors in an image or element.
Browser compatibility:
- The chrome browser supports this feature starting from version 18
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 35
- The safari browser supports this feature starting from version 6
Availability: