RainbowColor

Purpose:

Calculates a color value between blue and red corresponding to the value of the first parameter e.g. for rainbow colors in crosstabs.

Parameter:

Number       Value to be displayed.

Number       Until this value the color is "blue".

Number       Until this value the color is "red".

Return value:

Number