Brown tinged foam is normal in winter as is small amounts of white foam below a cascade in a watercourse. If however you observe large volumes of white foam often with an associated detergent smell then this could be an indication of pollution.

OLYMPUS DIGITAL CAMERA