OptionalalgorithmAlgorithm used for calculating the ramp.
OptionalcolorA multipart color ramp is defined by a list of constituent color ramps.
OptionalfromArray representing the initial color to start the ramp from.
OptionaltoArray representing the final color to end the ramp with.
Value indicating the type of colorRamp.
A colorRamp object is used to specify a range of colors that are applied to a group of symbols. See https://developers.arcgis.com/web-map-specification/objects/colorRamp/.