Exemplo n.º 1
0
def get_color(value):
    if value.startswith('#'):
        return HexColor(value)
    return color.get(value)