colored_extract_indices