The glove gets its warning color from a dye that reacts to chemicals in the air. Researchers are able to make the dye react to a few different chemicals. And they are able to apply the dye in the same way color is usually added to fabric. They can dip the fabric into a vat of dye, or silk-screen the dye on.