title: How to convert 8 characters String to ARGB color format in Java?
body: <p>When I type in a color code (<code>AARRGGBB</code>) into a text field I need to update a component with the color represented by the string (which is formatted to <code>AARRGGBB</code>).  I divide it into 4 substrings and there I get to a halt. </p>
  
  <p>I need to have the RR string to a float value so after all the process I should create a color like:</p>
  
  <pre><code>Color c = new Color(floatA, floatR, floatG, floatB);
  </code></pre>
  
  <p>Any suggestion is welcome as long as in the end I will have the color. </p>