Quaternary ammonium compounds based on resin acids and rosin and their colloidal-chemical and biocidal properties