contrast()

Term side of the Card
Topic: Background
Unit title: contrast()
Categories: Function
Explanation side of the Card

Explanation: The function used as a value for the `filter` property to adjust the contrast of an element. Increasing the contrast makes darks darker and lights lighter, while decreasing it softens the differences between colors and tones.

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: