local threat = UnitThreatSituation("player")
--(or you can use UnitThreatSituation("player", "target") if you just wish to check against your current target)
if threat > 1 then
--change color
else
--change back to original color
end
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh