Plastic colored ...
Usually, they use the plastic in the form of raw color pellets. Then they add the "masters", which are other pellets of the same plastic (more or less) but with an high concentration of dye or pigments, following the recipe to get the right color. They mix that in a tank and...