Carbon dots (CDs), a new building unit, have been revolutionizing the fields of biomedicine, bioimaging, and optoelectronics with their excellent physical, chemical, and biological properties. However, the difficulty of preparing excitation-dependent full-spectrum fluorescent CDs has seriously hindered their further research in fluorescence emission mechanisms and biomedicine. Here, we report full-spectrum fluorescent CDs that exhibit controlled emission changes from purple (380 nm) to red (613 nm) at room temperature by changing the excitation wavelength, and the excitation dependence was closely related to the regulation of sp2 and sp3 hybrid carbon structures by β-cyclodextrin-related groups. In addition, by regulating the content of β-cyclodextrin, the optimal quantum yields of full-spectrum fluorescent CDs were 8.97%, 8.35%, 7.90%, 9.69% and 17.4% at the excitation wavelengths of 340, 350, 390, 410 and 540 nm, respectively. Due to their excellent biocompatibility and color tunability, full-spectrum fluorescent CDs emitted bright and steady purple, blue, green, yellow, and red fluorescence in MCF-7 cells. Moreover, we optimized the imaging conditions of CDs and mitochondrial-specific dyes; and realized the mitochondrial-targeted co-localization imaging of purple, blue and green fluorescence. After that, we also explored the effect of full-spectrum fluorescent CDs in vivo fluorescence imaging through the intratumorally, subcutaneously, and caudal vein, and found that full-spectrum fluorescent CDs had good fluorescence imaging ability in vivo.