Earth Engine is introducing noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. All noncommercial projects will need to select a quota tier by April 27, 2026 or will use the Community Tier by default. Tier quotas will take effect for all projects (regardless of tier selection date) on April 27, 2026. Learn more.
A list of colors or the name of a predefined color palette.
mode
String, default: "RGB"
The colorspace in which to interpolate. One of 'rgb', 'lrgb', 'hsv', 'hsl', 'lab' or 'lch'.
min
Float, default: null
The minimum value of the palette. Values less than min will be clamped to min.
max
Float, default: null
The maximum value of the palette. Values greater than max will be clamped to max.
padding
List, default: null
Shifts the color range by padding the end of the color scale (a percentage 0-1). Positive values reduce the spread of the gradient and negative values expand it. If only 1 value is provided, the same padding will be applied to both ends.
classes
List, default: null
Create a palette representing discrete classes instead of a continuous gradient. Either a list of class break values, or a single number indicating the number of equidistant breaks to generate between 'min' and 'max'. This option is mutually exclusive with 'positions'.
positions
List, default: null
Set the positions for the colors. The number of positions must exactly match the number of colors in the palette. Resets 'min' & 'max' to first and last value. This option is mutually exclusive with 'min'/'max' and 'classes'.
correctLightness
Boolean, default: false
Correct the color spacing to spread the (Lab) lightness range evenly over the range of values.
gamma
Float, default: 1
A gamma correction for the palette. Numbers greater than 1 increase lightness.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-20 UTC."],[],[]]