One Metal Paints Rubies Red and Emeralds Green
The blood red of a ruby and the deep green of an emerald come from the same trace impurity: a few chromium atoms, usually less than 2 percent of the stone, tuned by the crystals that hold them.

Pure corundum, the mineral behind rubies, is colorless. So is pure beryl, the mineral behind emeralds. Both are made of light elements: aluminum and oxygen in corundum, with beryllium and silicon added in beryl. Neither has any built-in reason to be red or green. The color in both comes from an intruder. When a little chromium replaces some aluminum atoms, corundum turns red and beryl turns green. The impurity is the same in both stones. The surroundings are different.