conditionally change color of name