title: Why does this Color.HSVToColor method return this strange value (with a negative sign)?
body: <p>This is an SSCCE to demonstrate that the <code>HSV</code> color <code>{11.0f, 9.0f, 215f}</code> when checked <a href="http://colorizer.org/" rel="nofollow noreferrer">here</a> is whitish (although the value of <code>V</code> or <code>Value</code>, <code>215</code>, automatically changes to <code>100</code> on this tool), whereas when I apply android's <code>Color.HSVToColor(float [] f)</code> function is applied, it results in the value <strong><code>-53504</code></strong>, which looks dubious when I look at minus sign. Besides, its color turns out to be red.</p>
  
  <p><strong>The question is why and how do I solve this?</strong></p>
  
  <p><a href="https://i.stack.imgur.com/EO8Qg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EO8Qg.png" alt="enter image description here"></a></p>
  
  <p><strong>MainActivity.java:</strong></p>
  
  <pre><code>public class MainActivity extends Activity {
      View view;
      TextView textView;
      float [] hsv = {11.0f, 9.0f, 215.0f};
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.activity_main);
          view = findViewById(R.id.mainActivity_view);
          textView = (TextView) findViewById(R.id.mainActivity_textView);
  
          int androidColor = Color.HSVToColor(hsv);
  
          view.setBackgroundColor(androidColor);
          textView.setText(androidColor+"");
      }
  }
  </code></pre>
  
  <p><strong><em>Activity_main.java:</em></strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="center_horizontal"
      android:orientation="vertical"
      android:padding="10dp" &gt;
  
      &lt;View android:id="@+id/mainActivity_view"
          android:layout_width="100dp"
          android:layout_height="100dp" /&gt;
  
      &lt;TextView
          android:id="@+id/mainActivity_textView"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="15dp" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>