CSS Property:
text-decoration-color:
red
green
yellow
rgb(255,0,0)
rgb(0,0,255)
#ff0000
#00ff00
rgba(255,0,0,1)
rgba(255,0,0,0.5)
rgba(255,0,0,0.2)
initial
Result:
Hello world!
CSS Code:
#myDIV {
text-decoration: underline;
text-decoration-color:
red
;
}
Click the property values above to see the result
W3Schools.com
- Play it