def __init__(self, name, r, g, b):
        if name not in __colors__:
            __colors__.append(name)

        self.name = name
        super(NamedColor, self).__init__(r, g, b)
dataset/ETHPy150Open bokeh/bokeh/bokeh/colors.py/NamedColor.__init__/original