Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

Color Ramp Multipart

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

Referenced by: Color Ramp

Properties

Property Details
colorRamps A multipart color ramp is defined by a list of constituent color ramps.
type Value indicating the type of colorRamp.
If property is present, value of this property must be multipart

Example

{
  "colorRamp": {
    "type": "multipart",
    "colorRamps": [
      {
        "type": "algorithmic",
        "fromColor": [
          255,
          0,
          0,
          255
        ],
        "toColor": [
          255,
          255,
          0,
          255
        ],
        "algorithm": "esriHSVAlgorithm"
      },
      {
        "type": "algorithmic",
        "fromColor": [
          0,
          255,
          255,
          255
        ],
        "toColor": [
          0,
          0,
          255,
          255
        ],
        "algorithm": "esriHSVAlgorithm"
      }
    ]
  }
}

Feedback on this topic?