def limit_representation(self, val):

        if self.representation <= val:
            return self
        else:
            return self.to_representation(val)
Only converts if val is lower than representation
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Color.limit_representation