text-decoration-color

The text-decoration-color CSS property specifies the color of text decoration set on the element with text-decoration-line.

Syntax

CSS

text-decoration-color: value;

JS

object.style.textDecorationColor = "value";

Values

<'text-decoration-color'> = <color>
<color>

Specifies the color using a keyword or a numerical specification.

Initial

currentcolor

Examples

color

JS

Internal

text-decoration

text-decoration-line

text-decoration-skip-ink

text-decoration-style

text-decoration-thickness

External

World Wide Web Consortium (W3C)

Home Menu