Dreaming of hats connotes your desired role in life. In your dream, what hat was on your head? Was it a top hat? a trucker's hat? a baseball cap? Is that hat yours? Who owns the hat?
If you are dreaming of coveting someone's hat, you have that desire to be intimate with that hat owner.
A change of hat may also mean a change in your way of thinking or life philosophy.