Dying your hair while pregnant

Can you still dye your hair while pregnant???