Generating red / yellow / green colour codes for the radial output graph in file view.