border-right-colorSet the color of the element's right border. Note: You must define a width and style if you want the border to display. Using border-color by itself will not draw a border. Value | Description | color | Hexadecimal - a pound sign (#) followed by at most 6 hex values(0-F).
RGB - individual values for Red, Green, and Blue.
color term - sets the color using names. i.e. red, orange, white, etc. |
Code:p { border-right-color: red;
border-right-width: 3px;
border-right-style: dashed; } Display:This element has a border-right-color defined. |