Turn a two-color gradient into an evenly-spaced palette — perfect for charts, heatmaps and data viz.
:root {
--stop-1: #7C5CFF;
--stop-2: #9972FF;
--stop-3: #B689FF;
--stop-4: #D39FFF;
--stop-5: #F0B5FF;
}The tool interpolates between your gradient’s endpoints and samples the color at evenly spaced positions, converting a continuous blend into a fixed number of solid swatches. Because the samples are evenly spaced along the gradient, you get a balanced palette where each step is the same distance from the next.
Set the start and end colors (and any middle stops) you want to sample from.
Pick the number of stops to extract, such as 5 or 10 evenly spaced colors.
Grab the HEX values for charts, heatmaps or a stepped color scale.