CSS Terminology

prefers-contrast

prefers-contrast is a CSS media query that detects if the user has requested increased or decreased contrast through their system settings.

Understanding prefers-contrast

Code Examples

Using prefers-contrast in TWColors

Our tools help you work with prefers-contrast effectively. Try our color tools to see how prefers-contrast affects your designs.

Explore our tools →

Related Terms

Learn More

Try Our Color Tools

Apply your knowledge of prefers-contrast with our free tools.

Explore Tools