Sounds like you have multiple things going on here. What color did you dye your hair? It is possible the change of color was just enough to upset him. My chams don't like being messed with while shedding at all with exception of cleaning and feeding. As Matt mentioned he could have hit his teenager time on top of everything else lol.
How long have you had her? Though this kind of pertains to both of you, I got my first "little one" from
@Matt Vanilla Gorilla early Nov of last year. He had already hit his teenager stage and I hadn't even thought of colors being of concern until after actually receiving Blue. I have a tattoo of Sint Holo that wraps up one arm and goes down the other shaded two of the "bad" colors for chams, black and red. Matt may have to correct me on the timeline but I want to say for the first 1.5, maybe 2, months he was very much a mommy's boy (
@Krissy83). Even though I am generally the one that feeds the chams ( we've grown a lot since getting Blue

) and generally the one to take them out of their enclosures he would flare up at me and be calm with her.
I had asked Matt if I should cover my tats early on and was advised no that he would eventually learn to use the colors in my pattern to identify me. Now for the last month/ month and a half he has been a complete daddy's boy. He loves to climb up on my foot and play Simba if I'm laying in bed. If I try to pass him to her he gives me a look of "wth are you doing?" before crawling down her arm and back over to me, most of the time. My wife does have some pastel color shaded tats on her arms that have never seemed to phase him but, I feel mine definitely offended him at first lol. Though the colors of mine aren't cham friendly, I would whole heartedly say Matt was right back then and that he has learned to associate the colors/ pattern of mine with me and that I mean him no harm. So, I guess the short version, given time and consistency they can learn to associate "bad" colors with a "safe thing".