}
final int step = 10;
for (int tempStep = tempStart; tempStep <= tempEnd; tempStep += step) {
colorIndex = (colorIndex + 1) % BACKGROUND_COLORS.length;
int c = BACKGROUND_COLORS[colorIndex];
c = Color.blend(new Color(c), new Color(color)).getRGB();
g.setColor(c);
g.fillRect(boxStart, ty.get(tempStep + step), boxWidth, backgroundStripeHeight);
}
}