Not really. Just run maybe 50g of new material. You'll end up with blended colors, and then solid color of new material.
If you are really deadset on perfect color, you can take it apart and detail clean it.
HOWEVER, this is also a way to make new colors not purchasable: you can mix quantities of each color in a bucket, and then put the mixture in the hopper. Out comes new color. This is how the injection molded plastics companies do their products. In the drawings/contract, exact mixture is specified.
Maybe when multi-head extruders become very common.