When dyeing denim they use salt to force the dye onto the fabric. The dye itself actually has more of an affinity for the water than the fabric so the salt is used to cause the dye to be attracted to the cotton. The excess dye is then washed off at high temperature. In future washings, if...