Workbook workbook = new Workbook();
workbook.LoadFromFile("DataSample.xlsx");
Worksheet sheet = workbook.Worksheets[0];
//Traverse all used cells
foreach (CellRange range in sheet.Cells)
{
//Get background color of this cell
Color backgroundColor = range.Style.Color;
//Get text color of this cell
Color textColor = range.Style.Font.Color;
}