Translations:Garlic/30/en
Abundant sulfur compounds in garlic are also responsible for turning garlic green or blue during pickling and cooking. Under these conditions (i.e., acidity, heat) the sulfur-containing compound alliin reacts with common amino acids to make pyrroles, clusters of carbon-nitrogen rings. These rings can be linked together into polypyrrole molecules. Ring structures absorb particular wavelengths of light and thus appear colored. The two-pyrrole molecule looks red, the three-pyrrole molecule looks blue, and the four-pyrrole molecule looks green (like chlorophyll, a tetrapyrrole). Like chlorophyll, the pyrrole pigments are safe to eat. Upon cutting, similar to a color change in onion caused by reactions of amino acids with sulfur compounds, garlic can turn green.