Play mode instrument colors?

Is there a way to edit the color of an instrument in Play mode? I’m doing some orchestration and it would be very helpful for me to color instruments by range or by family, rather than by the order added to the project. If there’s no UI for it, perhaps there’s a way to edit the property through scripting?

No, it’s not currently possible I’m afraid. Colors are assigned based on score order. And scripting is not yet fully functional IIRC.