PaleoEarthLabs wiki

One bucket of limited wisdom

User Tools

Site Tools


tectonicwaters:2018:0924_arcgis_rest_api_colorscheme

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

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

Discussion

Enter your comment. Wiki syntax is allowed:
Y L B I Q
 
tectonicwaters/2018/0924_arcgis_rest_api_colorscheme.txt · Last modified: 2018/09/24 15:07 by christian