static List<Color> randomColors(int min, int max) { List<Color> colors = <Color>[]; for (int i = 0; i < rng.nextInt(max - min) + min; i++) { colors.add(randomColor()); } return colors; }