

def darken(self, amount):
    hsl = self.to_hsl()
    hsl.l = self.clamp((self.l - amount))
    return self.from_hsl(hsl)

dataset/ETHPy150Open bokeh/bokeh/bokeh/colors.py Color.darken/VarMisuse@29/36 `hsl`->`self`