Refactoring.
Apply colormap.