def get_color(idx):
    if (idx < 10):
        return '#f500dc'
    elif (idx < 20):
        return '#00f500'
    elif (idx < 30):
        return '#00e0f5'
    elif (idx < 40):
        return '#000cf5'
    elif (idx < 50):
        return '#f5e900'
    elif (idx < 60):
        return '#f58f00'
    else:
        return '#f50000'
def get_color(idx):
    if (idx < 10):
        return '#f500dc'
    elif (idx < 20):
        return '#00f500'
    elif (idx < 30):
        return '#00e0f5'
    elif (idx < 40):
        return '#000cf5'
    elif (idx < 50):
        return '#f5e900'
    elif (idx < 60):
        return '#f58f00'
    else:
        return '#f50000'