Multicolor fluorescence N-doped CPDs from dextrin water solution in strong acidic and alkaline environments were synthesized and characterized, which revealed that pH value plays a vital role in the process of CPD growth.