Made it automatically change nick color to achieve best contrast.