A compound of the formula
- wherein each
- R.sub.1 and R.sub.2 is independently hydrogen;
- alkyl of 1 to 4 carbon atoms;
- alkyl of 1 to 4 carbon atoms substituted by halo, alkoxy of 1 to 4 carbon atoms or phenoxy;
- phenyl or cycloalkyl of 5 to 6 carbon atoms,
- R.sub.3 is hydrogen, phenyl, alkyl of 1 to 12 carbon atoms or alkyl of 1 to 12 carbon atoms substituted by halo, alkoxy, cyano, phenyl, phenoxy, alkoxycarbonyl wherein the alkoxy radical has 1 to 4 carbon atoms, alkylcarbonyloxy wherein the alkyl radical has 1 to 4 carbon atoms, alkoxy of 1 to 4 carbon atoms, benzoyloxy, --O--CO--N(Ra).sub.2 or --CO--N(RA).sub.2,
- wherein each Ra is independently hydrogen or alkyl of 1 to 4 carbon atoms,
- R.sub.4 is alkyl of 1 to 8 carbon atoms;
- alkyl of 1 to 8 carbon atoms substituted by halo, hydroxy, cyano, phenyl, phenoxy, cycloalkyl of 5 or 6 carbon atoms, alkoxy of 1 to 4 carbon atoms or carbamoyl;
- alkenyl of 2 to 8 carbon atoms;
- alkenyl of 2 to 8 carbon atoms substituted by halo, hydroxy, cyano, phenyl, phenoxy, cycloalkyl of 5 to 6 carbon atoms, alkoxy of 1 to 4 carbon atoms or carbamoyl;
- alkoxy of 1 to 4 carbon atoms;
- alkoxy of 1 to 4 carbon atoms substituted by halo, hydroxy, cyano, phenyl, phenoxy, cycloalkyl of 5 to 6 carbon atoms, alkoxy of 1 to 4 carbon atoms or carbamoyl;
- cycloalkyl of 5 or 6 carbon atoms;
- cycloalkyl of 5 or 6 carbon atoms substituted by alkyl of 1 to 4 carbon atoms or ##STR218## ##STR219## is triazolium, benzothiazulium or naphthothiazolium, or a substituted derivative thereof, wherein each substituent is independently alkyl of 1 to 4 carbon atoms;
- alkyl of 1 to 4 carbon atoms substituted by phenyl, hydroxy, carbamoyl, cycloalkyl of 5 to 6 carbon atoms, cyano or halo;
- halo;
- nitro;
- cyano;
- trifluoromethyl;
- alkoxy of 1 to 4 carbon atoms;
- alkoxy of 1 to 4 carbon atoms substituted by phenyl, hydroxy, carbamoyl, cycloalkyl of 5 or 6 carbon atoms, cyano or halo;
- cycloalkyl of 5 or 6 carbon atoms;
- cycloalkyl of 5 or 6 carbon atoms substituted by alkyl of 1 to 4 carbon atoms, alkoxy of 1 to 4 carbon atoms or halo;
- phenyl;
- phenyl substituted by cyano, nitro, alkyl of 1 to 4 carbon atoms, alkoxy of 1 to 4 carbon atoms or halo;
- phenoxy;
- phenoxy substituted by cyano, nitro, alkyl of 1 to 4 carbon atoms, alkoxy of 1 to 4 carbon atoms or halo;
- phenylazo;
- --CO--Ro;
- --CO--O--Ro;
- --CO--NH--Ro;
- --CO--N(Ro).sub.2 ;
- --NH--CO--Ro;
- --SO.sub.2 --Ro;
- --SO.sub.2 --NH--Ro;
- --SO.sub.2 --N(Ro).sub.2 or --NH--SO.sub.2 --Ro,
- wherein each Ro is independently alkyl of 1 to 4 carbon atoms or phenyl,
- with the proviso that the azo group is linked to a carbon atom of the ring containing the quaternized nitrogen atom,
- B is phenylene, substituted phenylene having 1 or 2 substituents, naphthylene or substituted naphthylene having 1 or 2 substituents, wherein each substituent of substituted phenylene and substituted naphthylene is independently alkoxy of 1 to 4 carbon atoms, alkyl of 1 to 4 carbon atoms or halo,
- each Q is independently ##STR220## wherein each R is independently hydroxy;
- halo;
- alkyl of 1 to 4 carbon atoms;
- alkyl of 1 to 4 carbon atoms substituted by halo, hydroxy, cyano, phenyl or phenoxy;
- alkoxy of 1 to 4 carbon atoms;
- alkoxy of 1 to 4 carbon atoms substituted by halo, hydroxy, cyano, phenyl or phenoxy;
- trihalomethyl;
- trifluoromethyl;
- cycloalkyl of 5 or 6 carbon atoms;
- cycloalkyl of 5 or 6 carbon atoms substituted by alkyl of 1 to 4 carbon atoms;
- cyano;
- nitro;
- phenoxy;
- naphthyloxy;
- phenylazo;
- --CO--Ro;
- --CO--O--Ro;
- --CO--NH--Ro;
- --CO--N(Ro).sub.2 ;
- --O--CO--Ro;
- --O--CO--NH--Ro;
- --O--CO--N(Ro).sub.2 ;
- --NH--CO--Ro;
- --SO.sub.2 --Ro;
- --SO.sub.2 --NH--Ro;
- --SO.sub.2 --N(Ro).sub.2 ;
- --OSO.sub.2 --N(Ro).sub.2 ;
- ##STR221## wherein each Ro is independently alkyl of 1 to 4 carbon atoms or phenyl, and
- X is --CO-- or --SO.sub.2 --, and
- y is 0, 1, 2, 3, 4 or 5, each x is independently 1, 2 or 3, and
- A.sup..crclbar. is an anion, wherein each halo is independently chloro, bromo or iodo.