Scientific plotting tool

Colorbar Generator

Build a discrete colorbar from a data range, pick a colormap, and export ready-to-use Python, MATLAB, CSS, and JSON.

Intervals

Search Matplotlib presets or the full NCAR/NCL Color Table Gallery (262 palettes), then tweak any interval color.
Min
Max
Step
5 intervals: 0 – 100 by 20
Export current colors or paste a JSON array to import.

About this tool

Build discrete colormaps for Matplotlib, MATLAB, and web colorbars. Start from a Matplotlib preset or any of the 262 NCAR/NCL Color Table Gallery palettes, adjust individual interval colors, and export ready-to-use code for discrete contour plots, heatmaps, classified rasters, and publication-ready figures.

Preview

Click a color box to edit it

Python (Matplotlib)

MATLAB

CSS (Linear Gradient)

JSON