cartoon character in a hat