FACT++  1.0
function hueToRGB (   hue)

Definition at line 1 of file color.js.

Referenced by hueToHex().

2 {
3  hue /= 3;
4  hue %= 6;
5 
6  if (hue<1) return parseInt(255*hue);
7  if (hue<3) return parseInt(255);
8  if (hue<4) return parseInt(255*(4-hue));
9 
10  return 0.
11 }

+ Here is the caller graph for this function: