def _foreground_color(self):
        if not (self.foreground_basic or self.foreground_high):
            return 'default'
        if self.foreground_basic:
            return _BASIC_COLORS[self.foreground_number]
        if self.colors == 88:
            return _color_desc_88(self.foreground_number)
        return _color_desc_256(self.foreground_number)
Return only the color component of the foreground.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/display_common.py/AttrSpec._foreground_color