HotXLS Docs

Color property

Returns or sets the cell shading color of the range. Use the RGB function to create a color value. Read/write LongWord.
ThemeColor / TintAndShade are not exposed on the classic XLS interior API. Use Color, ColorIndex, PatternColor, PatternColorIndex, and the workbook palette for .xls output. See Classic XLS color model.

Syntax

property Color: LongWord;

Example

This example sets the color of the range A1:C10 interior to red.

Workbook.Worksheets[1].Range['A1', 'C10'].Interior.Color := xlRed;