CSS text-emphasis-color property

Description

CSS text-emphasis-color specifies the color of emphasis marks.

Syntax

text-emphasis-color : currentColor | color-name | rgb value | hexadecimal value

Property values

currentColorDefault

currentColor represents the same color as of text.

text-emphasis-color: currentColor;

color-name

Any color name can be used as the value. red value represents red color.

text-emphasis-color: red;

rgb value

It is an rgb value of red color.

text-emphasis-color: rgb(0,255,0);

hexadecimal value

It is an hexadecimal notation of blue color.

text-emphasis-color: #0000ff;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
We are learning text-emphasis-color property.
×

Ctrl+D