Perhaps you're thinking of the beret, which is a round, soft hat that is often associated with France, especially in popular culture. It's not exclusive to France, though, and people of all nationalities wear berets.
Let me know if you have any other questions!