You should use a many many relation.
Car many many Colors.
Then in your Car model you set a colors function which will have the relation in it.
Then in your code you can be like.
$cars = Car::with('colors')->get();
foreach($cars as $car) {
echo $car->model;
foreach($car->colors as $color) {
echo $color->name;
}
}
you get the drift