What I surprise me, first, it's this great coincidence for a wild oyster to receive the two factors required to build a pearl, a bead and a piece of foreigner tissue, that in the same time... Sure it's why natural pearls are so scarce, because if a simple grain of sand was suffisant to work, as it's usually believed, these pearls would be more common.
Then, if nacre colour is a question of oyster's genetic, probably farmers work as in any other crops, by selection of the best shells to give nice nacre tones.