Choosing colors for a website is simplified by using a complementary color picker, such as Paletton. Complementary Color Picker
Color pallets for the web can be generated by picking one color, and then using this or a similar tool to give you a set of colors based on the one entered in hexadecimal code.


The result is a matrix of colors, which can be sampled or provide hexadecimal numbers

Website pallet example