W3cubDocs

/CSS

CSS color adjustment

The CSS color adjustment module provides a model and controls automatic color adjustment by the user agent to handle user preferences, such as "Dark Mode", contrast adjustment, and other color scheme preferences.

Together with the @media features prefers-color-scheme, prefers-contrast and forced-colors, this module defines how and when colors are automatically adjusted by the browser.

Reference

Properties

Specifications

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_color_adjustment