Forced colors
Newly available since 2022-09-12
The forced-colors
CSS @media rule detects when a user has chosen to use a forced colors mode, also known as high-contrast mode, and the forced-color-adjust
CSS property sets whether forced colors apply to an element.
To learn more, see
forced-colors,
forced-color-adjust at MDN.
Compatibility
- Chrome 89 Released on 2021-03-02
- Chrome Android 89 Released on 2021-03-02
- Edge 79 Released on 2020-01-15
- Firefox 89 Released on 2021-06-01
- Firefox for Android 89 Released on 2021-06-01
- Safari 16 Released on 2022-09-12
- Safari on iOS 16 Released on 2022-09-12