A number of people in white cowboy hats are sitting on horses and talking, while a man in a black cowboy hat sits on a nearby fence.
There are people in both black and white hats.
'People in white cowboy hats' and 'a man in a black cowboy hat,' means there are people in both black and white hats.
(-x)
(-x)