When we want to make a list of certain members of a group, we can use 有的 (yǒude). This usage is normally translated as "some" in English. It is often used multiple times in one sentence to refer to different members.
The sentence pattern1 is :
Topic, 有的 + Subject + Predicate, 有的 + Subject + Predicate, …
Since, from the context, we already know we are talking about the cars. So another way to say this sentence is :
Topic, 有的 + Predicate, 有的 + Predicate, …
There are many cars at the parking lot. Some of them are red, some are gray, some are black.
Sometimes, especially when the number of members we mention is more than two, we use ‘还有的’ in the last part of the list.
There are so many flowers in the garden. Some of them are red, some are purple, some are yellow.
There are all kinds of Chinese food. Some of them are delicious, some are not.
In this shop, some of the clothes are expensive and some are cheap.