def set_fg_color(self, fg_color):
        self.fg_color = self._get_color(fg_color)

    # set_border(style) Set cells borders to the same style
Set the Format fg_color property.
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/format.py/Format.set_fg_color