Main sequence of star formation and colour bimodality considering galaxy environment | Synapse