def make_recolored_patch(red_scale, green_scale, blue_scale, patch):
    """
    Implement this function to make a patch for the Warhol Filter. It
    loads the patch image and recolors it.
    :param patch: The input image to the function.
    :param red_scale: A number to multiply each pixels' red component by.
    :param green_scale: A number to multiply each pixels' green component by.
    :param blue_scale: A number to multiply each pixels' blue component by.
    :return: the newly generated patch.
    """
    for pixel in patch:
        pixel.red = pixel.red * red_scale
        pixel.green = pixel.green * green_scale
        pixel.blue = pixel.blue * blue_scale
    return patch