title: How to Add Random Colors in For Loop
body: <p>I have a custom PieChart View, right now I'm setting a random color for each pie in a for loop with </p>
  
  <pre><code>color = Color.argb(100, r.nextInt(256), r.nextInt(256), r.nextInt(256)); 
  pie.addItem(PieName, PieValue, color);
  </code></pre>
  
  <p>As you can imagine i get strange colors sometimes, or nearly same colors. So now I'm thinking about using certain colors, how can I set some colors like blue, green, red, yellow... then use one of them for every pie in for loop?</p>