Can you solve this hat riddle?

1334

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