title: How to randomly change color? Dart and StageXL
body: <pre><code>for(int i = 1; i &lt; 10; i++) {
  var shape = new Shape();
  
  shape.graphics.beginPath();
  shape.graphics.moveTo(r1.nextInt(1500), r2.nextInt(1500));
  shape.graphics.lineTo(r3.nextInt(1500), r4.nextInt(1500));
  shape.graphics.strokeColor(Color.Green);
  shape.graphics.closePath();
  stage.addChild(shape);
   }
  </code></pre>
  
  <p>How can i randomly change the color of the line?</p>