While pure chlorine gas will bleach colors, in laundry bleaches, sodium hypochlorite or calcium hypochlorite are actually used, and they work by releasing oxygen, not chlorine. The chlorine remains in solution, either as sodium chloride (table salt), or calcium chloride.