public void setBase(Color lo, Color hi) {
		double step = 1.0 / (colors.length - 1);
		double t = 0.00001;

		for (int i = 0; i < colors.length; ++i) {
			int red = (int) (lo.getRed() * (1.0 - t) + hi.getRed() * t);
			int green = (int) (lo.getGreen() * (1.0 - t) + hi.getGreen() * t);
			int blue = (int) (lo.getBlue() * (1.0 - t) + hi.getGreen() * t);
			t += step;
			colors[i] = ColorUtils.getColor(red, green, blue);
		}
		knots.clear();
		firePaletteChanged();
	}
Manages the colors used by the entropy overview bar.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/OverviewPalette.java