PropertyBaseline: widely availablesince August 2024
MDN The color-schemeCSS property allows an element to indicate which color schemes it can comfortably be rendered in. User agents change the following aspects of the UI chrome to match the used color scheme:
PropertyBaseline: widely availablesince March 2025
MDN The forced-color-adjustCSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
<div class="box"> <p>This is a box which should use your color preferences.</p></div><div class="box forced"> <p>This is a box which should stay the colors set by the site.</p></div>
Syntax
auto | none | preserve-parent-color
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
all elements and text
Inherited
yes
Percentages
n/a
Computed value
as specified
Canonical order
per grammar
Animation type
not animatable
Browser support
First browser version supporting forced-color-adjust
Chrome
89
Edge
79
Firefox
113
Safari
No
Chrome Android
89
Safari iOS
No
First version with support, from MDN browser-compat-data.
MDN The print-color-adjustCSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.