CSS border-right-color

The CSS border-left-color property allows you to set the color of an element's right border.

Note: You will also need to specify border-right-style and border-right-width before your border-right-color is displayed.

Syntax: border-right-color: <value>
Possible Values:
  • <color>
  • transparent
  • inherit
Initial Value: Uses the 'color' property
Applies to: All elements.
Inherited: Yes
Media: Visual
Example: div.right-color {border-right-color:#ff9900}
Try it yourself!