A general rule of thumb is to limit a web page’s palette to

no more than 3-5 colors. Having too many colors can make a web page appear cluttered and overwhelming to the viewer. By sticking to a limited color palette, the page will appear more cohesive and visually pleasing. Additionally, it will make it easier for users to understand and navigate the content on the web page.