Color Ramp Resources
Color Ramp Resources
(https://www.chiwater.com/Home)
Articles (/Articles/Home)
Back
CPT-CITY
CPT-CITY (http://soliton.vm.bytemark.co.uk/pub/cpt-city/index.html)
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/index.html
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/index.html)) is an online archive of over
6000 color gradients. You should nd some color gradients optimized for elevation
rendering of grid/DEM layers, some suitable for continuous rendering of numeric
attributes (https://support.chiwater.com/77862/attribute), and some that provide
beautiful palettes for rendering of discrete value attributes. Notable collections include:
https://support.chiwater.com/77734/color-ramp-resources 1/26
10/18/2020 Color ramp resources
To use a color gradient from CPT-CITY, click on the SVG option, select and copy the XML
to the clipboard, and paste it into PCSWMM's color ramp manager
(https://support.chiwater.com/77733/color-ramp-manager).
All gradients in the archive are free for you to download and use in your maps, however
some authors may request or require attribution. Please see CPT-CITY's copyright page
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/notes/copyright.html) for more
information.
Below are the individual color ramps included in the default collection. Copy the XML
listed under the color ramp of interest and paste it into PCSWMM's color ramp manager.
Please note that PCSWMM will prompt to create this collection of default color ramps if
you remove all color ramps from the color ramp manager.
https://support.chiwater.com/77734/color-ramp-resources 2/26
10/18/2020 Color ramp resources
<defs>
<linearGradient id="" gradientUnits="objectBoundingBox" spreadMethod="pad"
x1="0%" x2="100%" y1="0%" y2="0%">
<stop o set="0%" stop-color="rgb(173,216,230)" stop-opacity="1.0000" />
<stop o set="50%" stop-color="rgb(0,0,139)" stop-opacity="1.0000" />
<stop o set="100%" stop-color="rgb(255,0,0)" stop-opacity="1.0000" />
</linearGradient>
</defs>
</g>
</svg>
https://support.chiwater.com/77734/color-ramp-resources 3/26
10/18/2020 Color ramp resources
https://support.chiwater.com/77734/color-ramp-resources 4/26
10/18/2020 Color ramp resources
<metadata>
<copyright url="http://soliton.vm.bytemark.co.uk/pub/cpt-city/grass/copying.html
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/grass/copying.html)"/>
https://support.chiwater.com/77734/color-ramp-resources 5/26
10/18/2020 Color ramp resources
</metadata>
</svg>
<copyright url="http://soliton.vm.bytemark.co.uk/pub/cpt-city/bhw/copying.html
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/bhw/copying.html)"/>
</metadata>
</svg>
https://support.chiwater.com/77734/color-ramp-resources 6/26
10/18/2020 Color ramp resources
<svg>
<g>
<defs>
https://support.chiwater.com/77734/color-ramp-resources 7/26
10/18/2020 Color ramp resources
</linearGradient>
</defs>
</g>
<metadata>
<copyright url="http://soliton.vm.bytemark.co.uk/pub/cpt-
city/wkp/template/copying.html (http://soliton.vm.bytemark.co.uk/pub/cpt-
city/wkp/template/copying.html)"/>
</metadata>
</svg>
https://support.chiwater.com/77734/color-ramp-resources 9/26
10/18/2020 Color ramp resources
<copyright url="http://soliton.vm.bytemark.co.uk/pub/cpt-city/mby/copying.html
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/mby/copying.html)"/>
</metadata>
</svg>
https://support.chiwater.com/77734/color-ramp-resources 10/26
10/18/2020 Color ramp resources
<copyright url="http://soliton.vm.bytemark.co.uk/pub/cpt-city/imagej/copying.html
(http://soliton.vm.bytemark.co.uk/pub/cpt-city/imagej/copying.html)"/>
</metadata>
https://support.chiwater.com/77734/color-ramp-resources 25/26
10/18/2020 Color ramp resources
</svg>
https://support.chiwater.com/77734/color-ramp-resources 26/26