A cat is sleeping inside a baseball hat.
A kitten curled up asleep in a baseball cap
a cat sits curled up and sleeping inside of a hat 
A small cat is curled up, sleeping inside of a baseball cap. 
A cat that is laying in a hat.