What causes the different colors of diamonds?
In theory, a diamond is pure carbon with a perfect atomic structure, but in the real world, this is extremely rare. On the atomic level, every diamond has some imperfections such as misaligned structure or, very commonly, impurities such as nitrogen and hydrogen. Nitrogen impurities cause yellow colors, boron impurities cause blue colors and structural imperfections cause pink and brown colors.