Dying hair while pregnant???

I am almost 31 weeks pregnant .... And want to dye my hair. My doctor didn't seem to care if I did or not. Just wondering if anyone else has or has any opinion or what their doctor has said. If I need to wait until after baby it's not going to kill me lol. My hair lightens with the sun so right now it looks like my hair is about 3 different colors ☹️