A clear or white mucus usually indicates a viral infection, while yellow or green mucus indicates a bacterial infection.