Color range is not a gradient but a rainbow range, if the colors are too far on the spectrum it's especially evident. It generated the whole spectrum or part of it (which looks like legit gradient). There is probably a way to fix that through the lib, or making a manual method that would calculate the heatmap between two colors.