Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

borderColor of type DOMString

Sets or retrieves the border color of the object.

Possible values are the color name or RGB value. For more information, see [CSS-Level2-2009] section 4.3.6 Colors.

Returns a six-digit hex value.

To render the color specified, the border attribute must be set to an integer greater than zero.

This attribute extends the following interfaces: