manage contrast color of note