The statement that best explains why petunia flowers can have different petal colors is:
Different alleles code for different petal colors.
This statement correctly reflects the genetic diversity within the petunia species, as different alleles (variations of a gene) can result in a range of petal colors.