CSS Terminology

contrast()

contrast() is a CSS filter that adjusts the contrast of an element. Values below 100% reduce contrast (more gray), above 100% increase contrast.

Understanding contrast()

Code Examples

Using contrast() in TWColors

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

Explore our tools →

Related Terms

Try Our Color Tools

Apply your knowledge of contrast() with our free tools.

Explore Tools