Malachite green metabolized into LMG. Only the cation MG is deeply colored, whereas the leuco and alcohol derivatives are not. This difference arises because only the cationic form has extended pi-delocalization, which allows the molecule to absorb visible light. The leuco form of malachite green was first prepared by Hermann Fischer in 1877 by condensing benzaldehyde and dimethylaniline in the molecular ratio 1:2 in the presence of sulfuric acid. Malachite green is traditionally used as a dye. Kilotonnes of MG and related triarylmethane dyes are produced annually for this purpose. MG is active against the oomycete "Saprolegnia", which infects fish eggs in
Mineral petrography), it may become transparent even if that property is not seen in a hand sample. In contrast, some minerals, such as hematite or pyrite, are opaque even in thin-section. Colour is the most obvious property of a mineral, but it is often non-diagnostic. It is caused by electromagnetic radiation interacting with electrons (except in the case of incandescence, which does not apply to minerals). Two broad classes of elements (idiochromatic and allochromatic) are defined with regards to their contribution to a mineral's colour: Idiochromatic elements are essential to a mineral's composition; their contribution to a mineral's colour is diagnostic.