def rgbTogray(rgb):
    """
    Converts a RGB pixel to a grayscale pixel.

    Done by calculating every RGB value divided by 3

    rgb[i]/3
    Parameters
    ----------
    pixel(color) : The pixel as color(R,G,B)

    Returns
    -------
    tuple : (R/3, G/3, B/3)

    """
    grayValue = int(rgb[0]/3 + rgb[1]/3 + rgb[2]/3)
    grayScale = (grayValue, grayValue, grayValue)
    return grayScale