If you could simply choose which spool position to move to next you wouldn’t need to deal with the whole color issue. The software should simply have a setting option so after filament runout it should go to spool position “x” and resume. Whichever color is in the it shouldn’t matter. The user knows and can choose which color by placing it in the spool position.