Hats were the must-have accessory of the season from the runways to the front rows.