The silver cation, Ag+
, reacts quickly with halide sources to produce the insoluble silver halide, which is a cream precipitate if Br- is used, a white precipitate if Cl−
is used and a yellow precipitate if I−
is used. This reaction is commonly used in inorganic chemistry to abstract halides: