Are you suggesting that colored prompts violate the rules of consistency and least surprise?
(Actually, if you are suggesting that, I'm not going to disagree. But I am going to say that if so, those rules don't apply in the case of colored prompts, because colored prompts are useful.)