private void mergeKnot(KnotRecord k) {
		int start = k.start;
		double radianstep = Math.toRadians(180) / (k.point - k.start);
		double cur = 0.0;
		while (start < k.end) {
			Color oldcolor = colors[start];
			Color knot = k.color;
			double t = (-Math.cos(cur) + 1.0) / 2.0;
			double tmp = (knot.getRed() - oldcolor.getRed()) * t + oldcolor.getRed();
			int red = (int) Math.floor(tmp);
			tmp = (knot.getGreen() - oldcolor.getGreen()) * t + oldcolor.getGreen();
			int green = (int) Math.floor(tmp);
			tmp = (knot.getBlue() - oldcolor.getBlue()) * t + oldcolor.getBlue();
			int blue = (int) Math.floor(tmp);
			colors[start] = ColorUtils.getColor(red, green, blue);
			cur += radianstep;
			start += 1;
		}
	}
Manages the colors used by the entropy overview bar.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/OverviewPalette.java