coloured the graphs