The text-decoration-color property specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-color.

  • Initial valuecurrentColor
  • Applies toAll elements
  • InheritedNo
  • MediaVisual
  • Computed valueThe computed color
  • AnimatableYes
  • CSS VersionCSS3
  • JavaScript
Formal syntax: <color>

text-decoration-color: blue;
text-decoration-color: #3366FF;
text-decoration-color: rgba(128, 128, 128, 0);
  • <color>The color data type value can be a named color keyword, or in hexadecimal, RGB, RGBa, HSL or HSLa notation.
.class {
  text-decoration-color: #3366FF;

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.