cpt2js (npm): Color palette text parser to a function, input compatible with GMT, GDAL, GRASS, PostGIS, ArcGIS
Keywords: color|palette|colormap|cpt|gmt|gdal|grass|postgis|arcgis