As you are using Style.Pattern = BackgroundType.Solid, so foreground color (or fill color) will take effect and background color will not be applied (as MS Excel does when Style.Pattern is set as Solid). Please set Style.ForegroundColor option instead of Style.BackgroundColor incase the Background Pattern is solid. Please see the following documentation link for further details on Colors & background Patterns: