added negation of font color
adjested color of text and refactored some code