updated colour scheme of output and added relative width for smoother display