- Multicolor, fluorescent self-healing gels were constructed through reacting carbon dots produced from different aldehyde precursors with branched polyethylenimine. The self-healing gels were formed through Schiff base reaction between the aldehyde units displayed upon the carbon dots’ surface and primary amine residues within the polyethylenimine network, generating imine bonds. The dynamic covalent imine bonds between the carbon dots and polymeric matrix endowed the gels with both excellent self-healing properties as well as high mechanical strength. Moreover, the viscoelastic properties of the gels could be intimately modulated by controlling the ratio between the carbon dots and polymer. The distinct fluorescence emissions of the gels, originating from the specific carbon dot constituents, were employed for fabrication of light emitters at different colors, particularly generating white light.