getRandomColor function

Color getRandomColor()

Implementation

Color getRandomColor() {
  return colors[Random().nextInt(colors.length)];
}