Custom color palettes can also be registered to be able to call custom palettes by name. If the optional argument register = "Custom-Palette" is set (where "Custom-Palette" is the name of your new palette) the palette will be added to the list of available color palettes. Existing palettes can also be overruled. Note that the graphical interfaces (choose_palette()) will not use custom palettes. These register-calls can also be added to your local ~/.Rprofile.
## Register custom color palette