Flowers usually only come in one type because it's easier for plants to reproduce if they're identical. Having different-colored flowers or petals provides an advantage because it means that someone eating the fruit or picking the flower will still get something edible or attractive, respectively. Flowers often lose their color as they age because red, yellow, and blue colors require the presence of a pigment called anthocyanin which is produced by plants in response to stress.