[]
Gets or sets the Color object applied to the outer and inside borders in the collection.
Use this property when you want to apply a fixed color. To apply a color that follows the workbook theme, use ThemeColor. To set a diagonal border, use this[BordersIndex] with DiagonalDown or DiagonalUp.
Color Color { get; set; }
Property Color As Color
IBorders borders = worksheet.Range["B2:E6"].Borders;
borders.LineStyle = BorderLineStyle.DashDot;
borders.Color = Color.Red;
Color color = borders.Color;