Sets or returns the color of the border, as an ExcelWriter object. If multiple colors were assigned to border parts, Color will return the color of the top border.
public Color Color{ get; set; }
Public Property Color() As Color
//--- Get Color
Color c = bp.Color;
//--- Set Color
bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue);
'--- Get Color
Dim c As Color = bp.Color
'--- Set Color
bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue)