cptutils
The GMT package implements colour gradients with the cpt (colour palette) file format, and provides some tools for creating and manipulating them. The cptutils package contains a number of additional utilities, mostly for translation to and from other formats. In version 1.31 (Aug 2008):
- avlcpt convert avl (ArcView Legend) to cpt
- cptcss convert cpt to fragment of css
- cpthsv modify RGB cpt gradient in HSV space
- cptgimp convert cpt to GIMP gradient
- cptinfo print summary information on a cpt file
- cpttext colour text according to a cpt file
- cptsvg convert cpt to svg gradient
- gimplut convert gimp gradient to binary lookup table (LUT)

- gimpcpt convert gimp gradient to cpt
- pspcpt convert PaintShop Pro gradient to cpt
- svgx convert svg gradient to other formats
- xycpt convert column data to cpt
GMT scale from GIMP's Sunrise
The cptutils package was written to aid the construction of the cpt archive cpt-city (where thousands of gradients can be downloaded). The Unix source distribution for the package can be downloaded here (you will need to have libxml2 installed to compile it).