The pan head is analogous for the button head other than that it has tapered, truncated sides in lieu of a far more rounded profile.
An external hex screw head is often called a hex head cap screw. The screw head is https://types.blog/types-of-screw-heads/