Setting Background Color of Excel Cell, Rows, Cols by openpyxl PatternFill
The openpyxl library has a class that can be used to set the background colors of Excel cells, rows or columns. The class name is PatternFill that has many options to set the background color with by using its arguments.