CSS text-decoration-color Property


The text-decoration-color property specifies the color of the text-decoration (underlines, overlines, linethroughs).

The text-decoration-color property sets the color of the underline, overline, or line-through on text with the text-decoration property applied. It can also set the underline color on links.

CSS Syntax

text-decoration-color: color|initial|inherit;

Example -