title: android convert from rgb to hsv and viceversa
body: <p>someone can explain why the conversion from rgb to hsv doesn't give the same result when convert back from hsv to rgb?</p>
  
  <pre><code>int color = Color.rgb(206, 43, 55);
  
  int red = Color.red(color);
  int green = Color.green(color);
  int blue = Color.blue(color);
  System.out.println(red + ", " + green + ", " + blue);
  //prints: 206, 43, 55 (as expected)
  
  float[] hsv = new float[3];
  Color.RGBToHSV(red, green, blue, hsv);
  
  float hue = hsv[0];
  float sat = hsv[1];
  float val = hsv[2];
  
  int outputColor = Color.HSVToColor(hsv);
  red = Color.red(outputColor);
  green = Color.green(outputColor);
  blue = Color.blue(outputColor);
  System.out.println(red + ", " + green + ", " + blue);
  
  //prints: 206, 42, 54 (green and blue are changed)
  </code></pre>