I am not a big fan of glasses on character sprites in general. But i think they are ok.
About the pirate hat by Fettsack:
I like the shape better than the one by vxd, but I think vxd did a better job with the shading, because his hat shows more light direction:

About the cowboy hat by VictorSan:
The perspective doesn't work. You've drawn it from the front and not from a 45° angle. And the shading looks quite rough. Maybe you should use a little bit less dithering or one or two additional color shades. But the hat itself is a quite good idea. i hope you don't give up.