get_closest_color must return color_type, not void.