background_color property

background_color property

Gets or sets a style’s background color.

Remarks

If you want to set a cell’s color, please use Style.ForegroundColor property. Only if the cell style pattern is other than none or solid, this property will take effect.

Definition:

@property
def background_color(self):
    ...
@background_color.setter
def background_color(self, value):
    ...

See Also