CSS-Tricks Follow contrast() The contrast() filter function increases or decreases the contrast of an element. contrast() originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well. https://css-tricks.com/almanac/functions/c/contrast/ css-tricks.com