The first pirate hats
In the first half of the 17th century, the first three-cornered or tricorn pirate hats appeared, although they were used as military garments from the 18th century.
The scarf and the hat
Pirates have always been represented with a scarf under a tricorn, although we do not know if this was a reality or something specific.
Captain Hook
The truth is that Captain Hook was partly to blame for popularizing this style of pirate hat inspired by the Swedish army during the Thirty Years' War that ended in 1648, which inspired courage and tenacity.