CSS accent-color Property Reference

The CSS accent-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

CSS accent-color Property Reference

The CSS accent-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

accent-color overview

The CSS accent-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

accent-color formal syntax
FieldValue
Formal syntaxauto | <color>
Initial valueauto
Applies toallElements
InheritedYes
Percentagesno
Computed valueasAutoOrColor
Animation typebyComputedValueType
Mediainteractive
Specification groupCSS Basic User Interface
StatusStandard

Practical examples

These declarations demonstrate valid ways to set accent-color. The initial and inherit global keywords remain available even when a property-specific value is preferable.

accent-color live example
CSS .reset-example { accent-color: initial; } .inherit-example { accent-color: inherit; } @supports (accent-color: auto) { .supported { accent-color: auto; } }

Related references

Description

The CSS accent-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: accent-color
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies