Home·CSS properties

forced-color-adjust

Colour and background

Stops forced-colors mode from repainting an element — useful for logos and charts.

How to write itforced-color-adjust: auto;
Common valuesauto, none, preserve-parent-color
InheritedYes — children receive it
CategoryColour and background

How to read this

  • An inherited property only needs writing once on the parent — every child picks it up. Most text properties work this way.
  • A shorthand resets whatever you leave out. Writing background: red alone also wipes a background image you set earlier.
  • When rules collide, the more specific selector wins; only when specificity ties does source order decide.
  • Animate transform and opacity for smoothness. Changing width or top forces the layout to be recalculated.

Frequently asked questions

Q. What is the CSS forced-color-adjust property?

Stops forced-colors mode from repainting an element — useful for logos and charts.

Q. How do you write forced-color-adjust?

As forced-color-adjust: auto; Common values include auto, none, preserve-parent-color.

Q. Is forced-color-adjust inherited?

Yes. Set it once on the parent and every child uses the same value without repeating it.

Q. What group does forced-color-adjust belong to?

The colour and background group.

Properties in the same group

Reference docs