Answer:
A dominant color allele codes for proteins that are involved in the production of pigments. A recessive color allele does not produce a working version of these proteins.
Step-by-step explanation:
A dominant color allele produces a specific pigment when present, while a recessive color allele does not produce that specific pigment when present.
The dominant allele masks the effect of the recessive allele, meaning that if a plant has one dominant allele and one recessive allele, the dominant allele will determine the color of the plant. However, if a plant has two recessive alleles, the plant will have the color determined by the recessive allele.
In pea plants, the dominant allele codes for purple pigments and the recessive allele codes for white pigments. So when a pea plant has one dominant allele and one recessive allele it will appear purple, and when it has two recessive allele it will appear white.