Dyeing

Hank dyeing
Dyeing
Pigments for sale at a market in Goa, India
Cotton being dyed manually in contemporary India
Silk dye in pan on stove. Khotan

Dyeing is the application of dyes or pigments on textile materials such as fibers, yarns, and fabrics with the goal of achieving color with desired color fastness. Dyeing is normally done in a special solution containing dyes and particular chemical material. Dye molecules are fixed to the fiber by absorption, diffusion, or bonding with temperature and time being key controlling factors. The bond between the dye molecule and fiber may be strong or weak, depending on the dye used. Dyeing and printing are different applications; in printing, color is applied to a localized area with desired patterns. In dyeing, it is applied to the entire textile.

The primary source of dye, historically, has been nature, with the dyes being extracted from plants or animals. Since the mid-19th century, however, humans have produced artificial dyes to achieve a broader range of colors and to render the dyes more stable for washing and general use. Different classes of dyes are used for different types of fiber and at different stages of the textile production process, from loose fibers through yarn and cloth to complete garments.

Acrylic fibers are dyed with basic dyes, while nylon and protein fibers such as wool and silk are dyed with acid dyes, and polyester yarn is dyed with dispersed dyes. Cotton is dyed with a range of dye types, including vat dyes, and modern synthetic reactive and direct dyes.