public static Color floatToHue(final float fclr){
  return Color.getHSBColor(fclr,1,1);
}

public static Color floatToHue ( final float fclr ) { return Color . getHSBColor ( fclr , 1 , 1 ) ; }
converts a floating point value into a color in hsb , with saturation and brightness 1 .
