css module
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
Related concepts
<color>CSS data type- Related
@mediafeatures: - Properties affected by forced colors mode
Specifications
SpecificationsStandards references are available on the canonical MDN page.
See also
- CSS colors module