The invention discloses a method for cultivating colored cotton. The method is one of the following: (1) using cotton purple mutant HS2 as a parent to cross with different varieties of cotton to obtain colored cotton; (2) knocking out and editing , interfere or overexpress key enzyme genes in cotton anthocyanin biosynthesis and metabolism pathway to obtain colored cotton; the key enzyme genes include PAL, C4H, 4CL-8, CHS, CHI, F3H, F3'H, F3'5 'H, DFR, LAR, LDOX, ANR, OMT or GST.