| FRAMES | NO FRAMES | Description | Parameters | Examples | Response | 
| URL | http://<imageservice-url>/colormap | 
|---|---|
| Parent Resource | Image Service | 
| Required Capability | Image | 
This resource is supported from 10.1 onwards. 
The colormap resource returns RGB color representation of pixel values. This resource is supported if hasColormap property of the service is true.

| Parameter | Details | 
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json | 
Example 1: Return attribute table for a land cover image service.
http://myserver.arcgisonline.com:port/arcgis/rest/services/LandCover/ImageServer/colormap
{"Colormap" : [
      [<value1>, <red1>, <green1>, <blue1>], //[int, int, int, int]
      [<value2>, <red2>, <green2>, <blue2>]
    ]
}
{
 "colormap": [
  [
   11,
   102,
   140,
   190
  ],
  [
   12,
   255,
   255,
   255
  ]
}