this is a bit dated but:
Egg shell color is due to a couple of genes we could call blue & brown. There are likely a lot more genes as well as gene modifiers involved. A vwhite shell is the absence of of blue or brown.
The brown color is ooporphyrin and is primarily deposited on the outside...