What to know before you dye your hair.