Excellent mock-up! Yes, that's the idea. That would be very nice! (And you excellently demonstrate one of the key potential usages)
Another possibility would be to apply the color(s) as background color for the area of each measure.
Either I think would be very helpful, and a choice between them would be ULTIMATE!