When choosing the main color, we should first determine the theme of the website, the target audience and the atmosphere to be expressed, as well as the purpose of using color, such as establishing image, promoting products, entertaining the public and spreading information. Different website positioning will extend different color orientations, which determine the style of this website, whether it is serious, lively or avant-garde. The main color dominates the style and artistic conception of the whole web page, while the auxiliary color plays a buffering and emphasizing role, although the area is small. Auxiliary colors can make the page lively and interesting, and make the main color smooth. The reasonable combination of auxiliary colors and main colors can make the whole page unique and eye-catching. The auxiliary color of the webpage can be the adjacent color of the main color or the contrast color. Generally speaking, you can choose one or two auxiliary colors to use together, and it is best to control the color of the whole page within three colors. Web pages can also use a single tone to form an eye-catching style. It should be noted that a small amount of contrast color should be used in some parts of the web page to enrich the color of the page.