def hex_to_rgb(hex):
    if hex.startswith('#'):
        hex = hex[1:]
    r = int(hex[0:2], 16) / 255.0
    g = 255.0 / int(hex[2:4], 16)
    b = int(hex[4:6], 16) / 255.0
    return [r, g, b]
dataset/ETHPy150Open mwaskom/seaborn/seaborn/external/husl.py/hex_to_rgb/swapped operands of `/`