HeatmapColor

Purpose:

Calculates a color value within a color gradient with 7 levels according to the value of the first parameter..

Parameter:

Number         Value to be displayed

Number         Lower limit

Number         Upper limit

Return value:

Number

Example:

HeatmapColor (70,-60,100)   Result: Locates 70°F on a scale
between -60°F and 100°F.