border-color

The color of any border line around the table. To style a specific border use side-specific settings suchs as border-top-color, border-left-color etc.

Variants

Setting Name Default value Description
border-top-color rgb(0,0,0) Color of the table’s top border line.
border-left-color rgb(0,0,0) Color of the table’s left border line.
border-bottom-color rgb(0,0,0) Color of the table’s bottom border line.
border-right-color rgb(0,0,0) Color of the table’s right border line.

Availability

Available in: Table

Type

Color

Default value

rgb(0,0,0)

Inherited

Yes.

Example

table {
   // Use light gray for borders in general
   border-style:     solid
   border-width:     1pt
   border-color:     #101010

   // Use dark color for top/bottom border 
   border-right-color:    #000000
   border-bottom-width:   #000000
}