I don't believe the color of the petals of a flower care much what color the ambient light is, mainly because nearly all plants spend most of their time in white light (white being the color of sunlight). Yellow or orange flowers are colored with carotenoid pigments, and red, blue, or purple flowers use anthocyanin pigments, and these pigments are coded for in the plant's genes. It would have a hard time changing color even if it had reason to.
As you may know, plants use light to turn carbon dioxide into sugars necessary for growth in a process called photosynthesis. Sunlight has the full spectrum of different wave lengths of light that represent each possible color of light; this is why when we look through a prism we can see all of the bands of color present in the spectrum: red, orange, yellow, green, blue, indigo and violet. Plants use different colors, which represent different wavelengths, of light for different purposes. Plants appear green to us because they reflect green light rather than absorbing it. In other words, plants don´t use green light for any purpose. The most important colors/wavelengths of light are red and blue light.
Most plants contain a special colored chemical or pigment called chlorophyll that is used in photosynthesis. Chlorophyll is what absorbs the sun's energy and turns it into chemical energy. Not all the light energy from the sun is absorbed.
Sunlight has many different colors in it. Chlorophyll usually absorbs red and blue light from the sun and reflects green light. It's the green light reflecting that makes some leaves look green! In the fall, some plants stop producing chlorophyll and we see leaves change color. With the chlorophyll gone, the green light is not being reflected anymore!