title: How to get 8 bit Colors?
body: <p>So ,at this moment, I got a method which generates 3 random integers, from 0 to 255.</p>
  
  <p>I use the 3 integers for colors.Red, Green ,Blue.</p>
  
  <p>So,at this moment, if I want to set the color of something, with the generated colors, I use this: </p>
  
  <pre><code> Color.argb(255, r, g, b); //255 =max intensity and after ,there are red green blue
  </code></pre>
  
  <p>What I need to do ,is to convert the 3 integers ,or eventually the intensity value too, to a 8bit integer.</p>
  
  <p>Any sort of documentation or guidance is highly appreciated! </p>
  
  <p>If more information is needed, I will comment or modify the body of the question.</p>