color

Color is represented as a three or 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.

Referenced by: border, Callout, color background, Color Ramp Algorithmic, colorClassBreakInfo, ColormapInfo, colorStop, colorUniqueValueInfo, Dimension Simple Style, Ground, halo, heatmap colorStop, Line marker, Material, Material, mediaInfo chart value, Outline, Raster ClassBreaks Renderer, Raster UniqueValue Renderer, Sketch Edges, Solid Edges, text background, Voxel Color Stop, Voxel Isosurface Style, Voxel Unique Value, WaterSymbol3DLayer

color Example

[
  13,
  38,
  68,
  255
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close