Because eggshells are primarily made of calcium, all of them start solid white inside the hen. As the shell begins to form, pigments called porphyrins secrete from the hen’s uterus to add color.