var fill = sheet.Cells[row, k + 1].Style.Fill; fill.PatternType = ExcelFillStyle.Solid; fill.BackgroundColor.SetColor(Color.Red);