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