Abstract Families of new hydrophobic and/or oleophobic triarylmethane dyes possessing long hydrocarbon or polyfluorinated chains have been prepared. When covalently grafted on to cotton fabric, these dyes give rise to a new type of colored superhydrophobic fibers.