Which header do you think is better?
- Light grey:
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It only takes a minute to sign up.Sign up to join this community
Let me provide you with a contradictory opinion on what is happening with both backgrounds.
1. GREY BACKGROUND: This background is the same as the page background. So it does not ask for any attention and all the attention is diverted to the page content.
2. WHITE BACKGROUND: This standout from the grey page hence it also asks for attention. Thus the user's attention is divided between the header and the page content.
The final decision rests with you. If the header is not too important i.e functionally then I would suggest the Grey Background. If it is your need to get the user's attention towards the header then White Background.
My preference is GREY BACKGROUND.
There is no significant difference. But the white background version is a little bit better because of: