cartoon character with a hat