Can you solve this hat riddle?

1638

Here’s a great way to start your week. Try and solve this riddle?