def rgb_to_hex(triple):
    [r, g, b] = triple
    return tuple(rgb_prepare([r, g, b])) % '#%02x%02x%02x'
dataset/ETHPy150Open mwaskom/seaborn/seaborn/external/husl.py/rgb_to_hex/swapped operands of `%`