making colors toggle on sides for better legibility