I can see why they call it a hat. I think it looks more like t-shirt.
But at the bottom of it, as the shapes morph in the animation, is what looks like a hexagon
2/3 of a hexagon, to be exact.