OptionalreverseRuns the scale from white to black instead (dark pixels get the bright end). Default false.
OptionalfadeMakes the dark end transparent, fading in along the scale: an image in such a scale can be laid over another one and only its bright parts show. Default false.
A preset's name ('red', 'inferno'…) or the scale's stops. With classes, the scale their colors were taken from (kept for an editor).
OptionalclassesShows the image in classes of its values, each in one flat color, in
place of the scale (see colorClasses). The classes hold the image's
values: raw values for an image read raw, 0-255 for an 8-bit one. The
correction (brightness, contrast…) is not applied, so a value always
gets its class's color.
A color scale with its options, as GpuCorrectedTileLayer.setColorScale takes it.