Padding Borders and Margin

border-top-color border-right-color border-bottom-color border-left-color

Sets the the border color for only one edge of the element. This property overrides the color set by the border property.

Example

border-top-color: black; border-right-color: rgb(255, 25, 90);

Browser support

IE5.5+, FF1+, SA1.3+, OP9.2+

Values

Color keyword One of the 17 recognized color keywords; aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white and yellow.
Hex color Three two-character numbers in the hexadecimal system(base 16)
RGB decimal Use RGB values from 0 to 255; rgb(255, 0, 333).
RGB percentage Specify a color using percentage values: rgb(100%, 0%, 33%).

Related properties

Can be used with..

Search the Soup!