The biotin-based low molecular weight hydrogel (G1) is able to entrap the epMB and as a consequence, the color of the epMB changes from green to blue; the color change depends on the state of the gelator, i.e. upon proceeding from sol to gel and vice versa.