Can you dye your hair while pregnant?

I am 26 weeks pregnant…cani dye my hair