Allow colormaps to export Gnuplot palettes

Also clean up more color/colormap code.