Baby poop dark

My baby was a breastfeed baby until I had to return to work and now she also drinks formula and her poop color changed which is expected but it’s a dark green almost black I’m guessing it’s from iron. Should I change formula or is it okay?