Cadmium sulfide is made several different ways. Cadmium salts, normally the sulfate or the chloride (cadmium chloride), are reacted with hydrogen sulfide to make a bright yellow cadmium sulfide solid. When it is made for pigment, the cadmium sulfide is then washed, heated (to change it into the right form), and ground to a powder. It is then mixed with paint.