Hair dye

Chesley
I'm 17 weeks and I need to dye my hair. Is box hair dye okay? My doctor says no, but I have been told by several that it's fine just to wear a mask. What are yalls thiughts? Have you used box dye while pregnant?