title: StageXL and Color values
body: <p>Im attempting to set up an arbitrary color picker to get values to be passed to Graphics.fillColor().<br>
  the signature for that method is "dynamic fillColor(int color)", and so the color seems not to be an RGB/RGBA but instead some integer. The Color class defines a bunch of constants for these values, but I would like to be able to use any color that a user picks in my color picker.   </p>
  
  <p>I tried converting from RGB to Hex using this procedure:</p>
  
  <pre class="lang-dart prettyprint-override"><code>String r_hex_str   = p_rbg_color_lst[0].toRadixString(16); //to hexadecimal
  String g_hex_str   = p_rbg_color_lst[1].toRadixString(16);
  String b_hex_str   = p_rbg_color_lst[2].toRadixString(16);
  String rgb_hex_str = '0x$r_hex_str$g_hex_str$b_hex_str';
  
  int color_rgb_int = int.parse(rgb_hex_str);
  
  return color_rgb_int;
  </code></pre>
  
  <p>but the fillColor() method is not reacting to the new color argument. 
  for illustration the above procedure takes [100, 145, 185] as the color RGB triplet and outputs 6590905 as the integer output.</p>
  
  <p>StageXL.Color.Red constant is 4294901760</p>
  
  <p>6590905 and 4294901760 are not even of the same length which tells me that the algo Im using is wrong... </p>
  
  <p>any ideas?
  thanks</p>