The hat is a symbol of the protection in some cultures they cover their head in order to avoid the badness. The hat that is stylish could indicate your desire to be noticed, perhaps you wish to be seen.
Hats dream meaning
Read more about dreaming of Hats in other dream meanings interpretations.