Do you want to see the full set of GMT colormaps available in your installation? Here is a simple script that will create a colorbar for each one:
ericlindsey/view_cpts
Simple script to make a set of colorbars for all available GMT colormaps in your installation.
Shell