Hi, I'm looking for an algorithm (or algorithms) that represents gradient color values. Something along the lines of
function ColorGradient(StartColor, EndColor: TColor; Min, Max: double; Value: double): TColor;
for i := 1 to 5 do
ColorToPlot := ColorGradient(clGreen, clRed, 1, 5, i);
Would give 5 colors equally spaced between green and red (to represent severity or something).