Intervals
Select a famous scientific colormap, then tweak any interval color.
Preview
Python (Matplotlib)
MATLAB
CSS (Linear Gradient)
JSON
Matplotlib colorbar generator
This tool helps scientific researchers build discrete colormaps for Matplotlib colorbars. Start from common scientific colormaps (viridis, cividis, plasma, inferno, magma, turbo), adjust individual interval colors, and export ready-to-use code.
Use cases: discrete contour plots, heatmaps, classified rasters, and publication-ready figure styling.