border-color
Introduction
The border-color shorthand CSS property sets the color (border-top-color, border-right-color, border-bottom-color, border-left-color) of an element's border.
Examples

Syntax
Values
The <color> property may be specified using one, two, three, or four values.
- When one value is specified, it applies the same color to all four sides.
- When two values are specified, the first color applies to the
border-top-colorandborder-bottom-color, the second to theborder-left-colorandborder-right-color. - When three values are specified, the first color applies to the
border-top-color, the second to theborder-left-colorandborder-right-color, the third to theborder-bottom-color. - When four values are specified, the colors apply to the
border-top-color,border-right-color,border-bottom-colorandborder-left-colorin that order (clockwise).
Formal definition
| Initial value | transparent |
| Applies to | all elements |
| Inherited | no |
| Animatable | yes |
Formal syntax
Compatibility
LCD tables only load in the browser