CSS text-decoration-color Property Reference

The CSS text-decoration-color property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

CSS text-decoration-color Property Reference

The CSS text-decoration-color property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

text-decoration-color overview

The CSS text-decoration-color property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

text-decoration-color formal syntax
FieldValue
Formal syntax<color>
Initial valuecurrentcolor
Applies toallElements
InheritedNo
Percentagesno
Computed valuecomputedColor
Animation typecolor
Mediavisual
Specification groupCSS Text Decoration
StatusStandard

Practical examples

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

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

Related references

Description

The CSS text-decoration-color property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: text-decoration-color
  2. MDN: CSS Properties Reference

Similar or alternative tools

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