By changing the temperature and pH (acid vs base) around the morning glory flower, it's possible to change its color from blue to red/pink. In the garden, this effect is induced by a change in the pH of the soil. In addition to the pH and temperature, some flowers change their colours to attract pollinators.
Credit; NIBB PR