dyeing of material in the gel state