color_map::get_index: preliminary implementation in new color map type.