def rgb_to_yiq(r, g, b):
    y = 0.30*r + 0.59*g + 0.11*b
    i = 0.60*r - 0.28*g - 0.32*b
    q = 0.21*r - 0.52*g + 0.31*b
    return (y, i, q)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/colorsys.py/rgb_to_yiq/original