The Map submenu contains operations that allow you to map the colors of an image to different colors in several ways.
Section 8.34, “Rearrange Colormap”
Section 8.35, “Set Colormap”
Section 8.36, “Alien Map”
Section 8.37, “Color Exchange”
Section 8.38, “Rotate Colors”
Section 8.39, “Gradient Map”
Section 8.40, “Palette Map”
Section 8.41, “Sample Colorize”
You can access this command from the main menu through Colors → Map.