Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The color-contrast functional notation takes a color value and compares it to a list of other color values, selecting the one with the highest contrast from the list.
Last updated on : 2022-07-01
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
types: <color>: `color-contrast()` on IE is not supported on any IE versions.
types: <color>: `color-contrast()` on Edge is not supported on any Edge versions.
types: <color>: `color-contrast()` on Firefox is not supported on any Firefox versions.
types: <color>: `color-contrast()` on Chrome is not supported on any Chrome versions.
types: <color>: `color-contrast()` on Safari is not supported on any Safari versions.
types: <color>: `color-contrast()` on Opera is not supported on any Opera versions.
types: <color>: `color-contrast()` on Safari on iOS is not supported on any Safari on iOS versions.
types: <color>: `color-contrast()` on Android Browser is not supported on any Android Browser versions.
types: <color>: `color-contrast()` on Opera Mobile is not supported on any Opera Mobile versions.
types: <color>: `color-contrast()` on Chrome for Android is not supported on any Chrome for Android versions.
types: <color>: `color-contrast()` on Firefox for Android is not supported on any Firefox for Android versions.
types: <color>: `color-contrast()` on Samsung Internet is not supported on any Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:types: <color>: `color-contrast()` shows a browser compatibility score of 0. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for types: <color>: `color-contrast()` & more
Test your website for types: <color>: `color-contrast()` and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?