def updateWhite(rgb):
    (red, green, blue) = rgb
    avg = (red + green + blue) / 3
    profiles.rgbOffset = (red - avg, avg - green, avg - blue)
dataset/ETHPy150Open bluquar/cubr/coloranalytics.py/updateWhite/swapped operands of `-`