CSS border-top-color Property

The css border-top-color property sets the color of an element’s top border. This page explains the border-top-color value, but often you will find it more convenient to fix the border’s top color as part of a shorthand set, either border-top or border-color. Colors can be defined several ways. For more information, see Usage.

Syntax for border-top-color property

color | transparent | initial | inherit