Silver iodide is an ingorganic compound with the formula Agl. The compound is a bright yellow solid, but samples almost always contain impurities of metallic silver that give a gray coloration. The silver contamination arises because AgI is highly photosensitive. This property is exploited in silver-based photography. Silver iodide is also used as an antiseptic and in Cloud seeding.