property
border-color — CSS reference
Sets color for four physical border edges using one to four clockwise values, following margin shorthand expansion. Initial currentColor; not inherited as a property. The initial keyword follows the foreground color and does not create a border by itself.
Formal Syntax & Structure
css syntaxcss
<color>{1,4}Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS box geometry lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{border:6px solid black;border-color: red green blue black}</style><body><div id="a" class="sample">Sample</div></body></html>