def get_color_towards(color1, color2, fraction):
    """Returns a color which is fraction of the way from color1 to color2"""
    return [int(color1[i]*(1-fraction)+color2[i]*(fraction)) for i in range(4)]