Multi-stimuli responsive multicolored room-temperature phosphorescent (RTP) carbon quantum dots (CQDs) have recently attracted considerable attention, owing to their potential applications in advanced dynamic anti-counterfeiting. The design and development of carbon dots that exhibit both stimulus response characteristics and multicolor RTP emission remains a significant challenge in the field. In this work, we present a novel approach to control the dynamic phosphorescence color and stimulus response properties of CQDs coated on paper by fine-tuning the surface functional groups of the CQDs. Specifically, histidine and 2,4,6-triaminopyrimidine was separately used to prepare N, O co-doped CQDs (NOCQDs) and N-doped CQDs (NCQDs), respectively. These CQDs were further coated on filter paper substrates to achieve water and heating cascade stimulus–response RTP. These stimuli-responsive properties of NOCQDs can be modulated by deprotonating their surface oxygen-containing groups. Eventually, we achieved time-resolved multicolor dynamic anti-counterfeiting by exploiting the stimuli-response properties and lifetimes differences between NOCQDs and NCQDs, realizing the 5D information encryption in all five stimulus-, pattern-, time-, and color-dependent codes. These findings highlight the potential of NOCQDs as advanced anti-counterfeiting materials and lay a foundation for further exploration into the synthesis and properties of CQDs with tunable stimuli-response features and RTP emission.