Dye hair when breastfeeding

can I dye hair when still breastfeeding ? Does it affect my baby?