Can you solve this hat riddle?

1395

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