Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I frequently am in need of color gradients that aren't readily available through ArcGIS or the ColorBrewer add-in. I find the process of manually creating gradients in Arc very tedious: saved custom colors don't come up in the edit color ramp window.

I am wishing that there was some way to use Python to batch generate colors ramps for ArcGIS. For example, if I gave it a "high" color and a "low" color, it could create and import a linear gradient between the colors. Importing might simply be a matter of saving to a specified directory.

share|improve this question
up vote 1 down vote accepted

Version 10.1 provides a function, however I haven't found a functional work around in 10.0

See the GraduatedColorsSymbology class in the arcpy.mapping module.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.