CSS border right color

CSS border right color is used to set the color of right border of an HTML element.


Syntax

Output

This is the example to show the color of right side border of an HTML element.


CSS border right color values list

Sr. No. value Description
1 border-width Used to give color of border. The value for this can be hex, rgba() or color name in text format. Check CSS border color for more detail.
2 initial Used to define as the property initial value.
3 inherit Used to define the computed value of property on the elements parent.