(U − B) colour and the blue fraction of galaxies (fblue,centrals) and their environment (fblue,environment) in different stellar mass bins: (U − B) and fblue as a function of nearest-neighbour density log (1 +δ3) for galaxies in four stellar mass bins. From top to bottom: (U − B) of galaxies, mean (U − B) of the galaxies' neighbours, fblue of galaxies, fblue of neighbours. The stellar mass bins are colour coded and plotted with different symbols: blue triangles (log M* < 10.5), cyan squares (10.5 < log M* < 11), green stars (11 < log M* < 11.5) and red circles (log M* > 11.5). The error bars represent the 3σ error of the mean in each bin.