Here is a goal: How can you dye fabric in the washing machine?

How would you accomplish this goal?
Buy the color dye you want and place in the washing machine basin.