This coloration and viscosity of the mucus is usually brought about by bacterial infection inside the nose.
A slight bacterial infection, causes the mucus to change into a different color and appear thicker than usual.