When a person has black or dark-colored mucus, they may have inhaled potentially harmful pollutants. Coughing up black mucus may also be due to an underlying infection or condition. Mucus serves ...