def __repr__(self):
        name = ['Deactivated:', ' Basic:', '', ' Full:', ' True:'][self.representation]
        name += '' if self.fg else ' Background'
        name += ' ' + self.name_camelcase
        name += '' if self.exact else ' ' + self.hex_code
        return name[1:]
This class has a smart representation that shows name and color (if not unique).
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Color.__repr__