border-right-color property
Description
CSS border-right-color property defines color for the right side border of a block.
Syntax
text-decoration-color : currentColor | color-name | rgb value | hexadecimal value
Property values
currentColorDefault
-
currentColor keyword represents the same color for the right side border as of text color.
border-right-color: currentColor;
color-name
-
The following demo represents skyblue color for the right side border.
border-right-color: skyblue;
rgb value
-
It represents rgb value of a color.
The hexadecimal value of red color for the right side border is given below.
border-right-color: rgb(255,0,0);
hexadecimal value
-
It represents hexadecimal notation of red color.
The hexadecimal notation of blue color for the right side border is given below.
border-right-color: #0000ff;
Applicable to
It applies to all elements
From web4college, the free CSS digger
#CSS digger
Was this article helpful?