Gets a color from a list that is considered to be infinitely repeating.
static Color cycledColor(List<Color> colors, int i) { return colors[i % colors.length]; }