Palette manipulations done.