title: Java/Android String to Color conversion
body: <p>I'm making an app and I'd like to be able to set various colors via user input(edittext) and hex values e.g. #eeeeee and so on. Problem is I cannot seem to figure out how to convert them.</p>
  
  <p>If I do something in code like this it works fine:
  titlebar.setBackgroundColor(0xFF545455); </p>
  
  <p>However if I retrieve a value via the edittext say "545455" I cannot get it work </p>
  
  <pre><code>          String tbColor = tb_color.getText().toString();             
            String value = "0xFF" + tbColor;  
            int setColor = Integer.valueOf(value);
            titlebar.setBackgroundColor(setColor);
  </code></pre>
  
  <p>Anyone have any ideas on how to accomplish this?</p>