Can the common cold VIRUS cause discolored mucus

Or is green/yellow mucus a sign of a bacterial infection and not a Virus?