border-color

Set the color of the element's 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-color: red;
border-width: 3px;
border-style: solid; }

Display:

This element has a border-color defined.