The invention discloses a multicolor two-dimension code generating method. A multicolor two-dimension code comprises a recognition area, a locating area for locating the two-dimension code according to the recognition area, an information area and a function area monitoring
processing of the information area. The method comprises the following steps that S1, data are input into the recognition area, the locating area, the information area and the function area respectively, the data of the recognition area, the data of the locating area, the data of the information area and the data of the function area are respectively converted into binary code streams, the code
stream of the information area is Ix, the information
stream comprises N codes, and N>0; S2, Ix is divided into Ib and Ia, and statistics is respectively carried out on the number D1 and the number D0 of information bits with the value of 1 and 0 in the Ib; S3, D1 and D0 in the Ib are compared to generate a single-color two-dimension code; S4, the Ia is grouped according to the
color code standard, and corresponding colors are set for the binary codes in each group; S5, color adding is carried out on black pixel points in the single-color two-dimension code in S3 through the Ia obtained after
color coding, and the multi-color two-dimension code is generated. On the basis of the single-color two-dimension code, multi-color information is increased, the information amount is further increased, and information restoration becomes easy through the digital color information.