tectonicwaters:2018:0924_arcgis_rest_api_colorscheme [PaleoEarthLabs wiki]

PaleoEarthLabs wiki

One bucket of limited wisdom

Site Tools


ArcGIS REST API: ColorScheme

Needed to look up ArcGIS's JSON color settings as served by the REST API. So it is listed on their Common Data Types -> Symbol objects and they indeed use RGBA.

To quote from ESRI's website:


Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.

JSON Syntax

[ <red>, <green>, <blue>, <alpha> ]

JSON Example

[ 67, 0, 255, 40 ]

Also worth a read: https://en.wikipedia.org/wiki/RGBA_color_space

tectonicwaters/2018/0924_arcgis_rest_api_colorscheme.txt · Last modified: 2019/08/24 13:12 by christian