Swimming pools contain chlorine that rubs against the fabric of your bathing suit and discolors them. The harsh chemicals in the water in swimming pools can also stain your garments and make them look yellow.