def calculate_distance_between_colors(color1, color2):
 return (((color1[0] + color2[0]) / 2), ((color1[1] + color2[1]) / 2), ((color1[2] + color2[2]) / 2))

def calculate_distance_between_colors ( color1 , color2 ) : return ( ( ( color1 [ 0 ] + color2 [ 0 ] ) / 2 ) , ( ( color1 [ 1 ] + color2 [ 1 ] ) / 2 ) , ( ( color1 [ 2 ] + color2 [ 2 ] ) / 2 ) )
takes 2 color tupes and returns the average between them .