HUD, Colors & Icons
ColorBrewer
Choose a color scheme that matches the meaning of your map data.
Free · Open source · Apache-2.0
Build and inspect color ramps in JavaScript for legends, terrain and heatmaps.
Start with the stops in a legend, pick an interpolation space and sample the same scale for every view. A shared mapping helps the chart key, the map layer and the tooltip communicate the same value.
Sample a scale into CSS colors for the legend and use the same domain in the renderer. The code uses BSD-3-Clause. Bundled ColorBrewer colors carry the separate Apache-2.0 notice in the license file.
Official site and license checked .