Hair with a hat, a noun, refers to a hairstyle where the hair is covered or adjoined with a hat. For instance, a person may wear a cowboy hat with long hair sticking out, or a cap with a ponytail sticking out the back.
Hair with a hat is a fashionable and practical style that can protect the hair from the sun and inclement weather, keep it out of the face, and add a touch of personality.