Safe to dye hair?

Has anyone here dyed their hair while pregnant? I'm 36 weeks and I want to color it before I give birth.