I colored my hair right before my surgery, and it did fine. However, my hair stylist told me NOT to color it or get a perm or anything for a few months afterwards as the anesthesia can do weird things to your hair. So it might be good to do it beforehand so you don't have to worry about it for awhile later.
Hi, I had my hair highlighted a week before my surgery and it did great. I was told the same about not doing anything for a couple of months after also. I'm almost 9 months post op now and have recently had it permed and colored, both did very well.
I had my hair highlighted the day before my surgery. You definitely don't want a perm after surgery for at least 6 - 8 weeks. It is strange but the anesthesia affects the entire body, including your hair. I found out the hard way. Several years ago I just didn't even think to tell my hairdresser and within two weeks my perm had gone straight. When I told her what happened she couldn't understand. Then uh oh... I mentioned the surgery and yep, she said that was it.
No one ever told me anything about hair color not working well immediately post-op, so I went ahead and colored my hair myself, 2 weeks after surgery, to celebrate the fact that I was feeling a lot better. It's a deep cocoa brown, which is very close to what my natural color was before it started getting gray streaks. Also, I chose that time to switch from a level 2 to a level 3 hair color. To make a long story short: It worked just great, and I think it was actually easier on my hair than two different "gentler" level 2 colors were. I now refer to my new hair color as "Better Than Estrogen". :-)