Hi
One is machine where you are putting color and other is material i.e. dyes. For machine you define capacity in work center and operation time in routing. The component will part of BOM for this product example; if dyed part number (after dye) is A and dye itself is component as B. Then create a BOM for A which consumes B. Create a routing for A which has work center i.e. machine.
Now, when planning run will happen it will check for both that is capacity of the machine and component availability. When once both are available then only you will see supplies.
Create PDS/PPM accordingly in APO.
I hope you will test couple of cases and you will understand.
Regards
Rahul