Colours are very important. Generally speaking, you should focus on colours that make the Search Box stand out from the rest of the page.
There are two techniques you can use to style the Search Box successfully, depending on your goals:
- If you want to complement, use colours that already exist on your site, but don’t exactly match the background where the Search Box is placed.
- If you want to contrast, choose colours that stand out against the background of your site. Contrasting is always the most eye-catching.