def validate(self, value):
        try:
            return super(ColorSpec, self).validate(value)
        except __HOLE__ as e:
            # Check for tuple input if not yet a valid input type
            if self.is_color_tuple(value):
                return True
            else:
                raise e
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/ColorSpec.validate