Wash dyed items in a cauldron to undye them - also modded ones
Redye the items you get from washing
Compatible with Just Enough Items
Use hoppers to automate the process