Color Ramp Algorithmic

A colorRamp object is used to specify a range of colors that are applied to a group of symbols.

Referenced by: Color Ramp Multipart, Color Ramp

Properties

Property Details
algorithm Algorithm used for calculating the ramp.
Valid values:
  • esriCIELabAlgorithm
  • esriHSVAlgorithm
  • esriLabLChAlgorithm
fromColor Array representing the initial color to start the ramp from.
toColor Array representing the final color to end the ramp with.
type Value indicating the type of colorRamp.
Valid value of this property algorithmic

Algorithmic Example

{
  "type": "algorithmic",
  "fromColor": [
    115,
    76,
    0,
    255
  ],
  "toColor": [
    255,
    25,
    86,
    255
  ],
  "algorithm": "esriHSVAlgorithm"
}

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