def __getattr__()

in chartify/_core/colour.py [0:0]


    def __getattr__(self, value):
        label = value.lower()
        if label in COLOR_NAME_TO_RGB:
            return rgb2hsl(tuple(v / 255.0 for v in COLOR_NAME_TO_RGB[label]))
        raise AttributeError("%s instance has no attribute %r" % (self.__class__, value))