Use one Modifier per color. Most geometry files can be imported as a Modifier by right clicking the object → Add Modifier → Load…
Then size, position and apply a different filament to each modifier. Note the order of the modifiers impact which modifier will be effective/overriding the previous ones.
Here’s a quick example:
Puck w Modifiers.3mf (1,4 MB)