Web platform features explorer

contrast-color()

Limited availability
Groups: CSS > Color types

The contrast-color() CSS function picks a color that has guaranteed contrast against a specified foreground or background color.

Learning resources on MDN

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Browser support