> But how do I assign colors to each class, as in 0-20 = blue, 20-30 = purple, etc? Use ST_Reclass() to reclass your values to three R,G,B bands. http://postgis.refractions.net/documentation/manual-svn/RT_ST_Reclass.html Pierre