Returns or sets the color of the border. Use the
RGB function to create a color value. Read/write LongWord.
ThemeColor / TintAndShade are not exposed on the classic XLS border API. Use Color, ColorIndex, and the workbook palette for .xls output. See
Classic XLS color model.
Syntax
property Color: LongWord;
Example
This example sets the color of the top edge border of A1:D1 range.
Workbook.Sheets[1].Range['A1', 'D1'].Borders[xlEdgeTop].Color := RGB(0, 255, 0);