Fixed color inversion in generation colormaps