color_distance function

Color distance