Cadmium chloride

Cadmium chloride is a white crystalline compound of cadmium and chlorine, with the formula CdCl2. This salt is a hygroscopic solid that is highly soluble in water and slightly soluble in alcohol. Although it is considered to be ionic, it has considerable covalent character to its bonding. The crystal structure of cadmium chloride (described below), composed of two-dimensional layers of ions, is a reference for describing other crystal structures. Also known are CdCl2•H2O and CdCl2•5H2O.
Structure.
Cadmium chloride forms crystals with rhombohedral symmetry. Cadmium iodide, CdI2, has a very similar crystal structure to CdCl2. The individual layers in the two structures are identical, but in CdCl2 the chloride ions are arranged in a CCP lattice, whereas in CdI2 the iodide ions are arranged in an HCP lattice.
Chemical properties.
Cadmium chloride dissolves well in water and other polar solvents. In water, its high solubility is due in part to formation of complex ions such as [CdCl4]2−. Because of this behavior, CdCl2 is a mild Lewis acid.
With large cations, it is possible to isolate the trigonal bipyramidal [CdCl5]3− ion.
Preparation.
Anhydrous cadmium chloride can be prepared by the action of anhydrous chlorine or hydrogen chloride gas on heated cadmium metal. 
Hydrochloric acid may be used to make hydrated CdCl2 from the metal, or from cadmium oxide or cadmium carbonate.
Uses.
Cadmium chloride is used for the preparation of cadmium sulfide, used as "Cadmium Yellow", a brilliant-yellow stable inorganic pigment.
In the laboratory, anhydrous CdCl2 can be used for the preparation of organocadmium compounds of the type R2Cd, where R is an aryl or a primary alkyl. These were once used in the synthesis of ketones from acyl chlorides:
Such reagents have largely been supplanted by organocopper compounds, which are much less toxic.
Cadmium chloride is also used for photocopying, dyeing and electroplating.