Border Color

The border-color property works just like all the other color properties:

border-color: red
border-color: #00FF00
border-color: rgb( 0%, 0%, 100%)

But just for the sake of completeness, here's the syntax:

Property Value Type Example Result
border-color: color name red Border set to the named color
border-color: hex value #ffffff Border set to the specified color
border-color: rgb() value rgb(10%, 80%, 0) Border set to the specified color