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. value Description
1 color Used 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.
2 initial Used to define as the property initial value.
3 inherit Used to define the computed value of property on the elements parent.
4 unset Used to define the property either acts as inherit or initial, depending on the property if it is inherited or not.

Leave a Reply

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