raise exception on #color_matrix