Is it okay to color my hair while pregnant??

I would like to have my hair colored at the salon, but not sure if I should just wait until after the pregnancy