I don't think anyone outside of this thread would take anyone seriously that wore a fedora, nope just nope. Maybe no one even in this thread. Unless you have "**** you" money or whatever, don't bother.
Just stick to contemporarily fashionable hats.
Ball caps work for everyone; they come in different styles. I am preferential to "Dad hats", due to the lower profile, generally less gaudy, if they do have a logo on them its typically small, and they look normal.
Depending on activity; I do like cycling hats because they're generally made of a lighter material, and sweat ruins normal cotton/tweed stuff for me. They can be pretty flambouyant though, so watch your douche meter.
Trucker hats are great, little more stylish; why I like them because of the breeze that can get through them. Though your noggin will bake a little more. It's like 50/50 sun protection/airflow.
If you have beautiful hair, you can wear a visor lol. I don't though, so that's a no go for me.
All other times I wear a beanie. Just plain ol' beanies. Wool is nice; the simpler the better. I generally don't go for any brimmed ones.
If you're just in it for the sun, why not a pair of polarized sunglasses?