CSS text decoration color

CSS text decoration color is used to define the color added to the text decoration.


Syntax

Output

This is the heading

This is the paragraph to show text decoration color.


CSS text decoration color values list

Sr. No.valueDescription
1colorUsed to define the color for decoration of the text. The value for this is color in hex, rgba or color text like red, blue etc.
2initialUsed to define as the property initial value.
3inheritUsed to define the computed value of property on the elements parent.
4unsetUsed to define the property either acts as inherit or initial, depending on the property if it is inherited or not.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.