text: In the laboratory, cobalt(II) chloride serves as a common precursor to other cobalt compounds. Generally, diluted aqueous solutions of the salt behave like other cobalt(II) salts since these solutions consist of the  ion regardless of the anion. For example, such solutions give a precipitate of cobalt sulfide  upon treatment with hydrogen sulfide .