Genesis 30:39

30:39 When the sheep mated in front of the branches, they gave birth to young that were streaked or speckled or spotted.

Genesis 30:42

30:42 But if the animals were weaker, he did not set the branches there. So the weaker animals ended up belonging to Laban and the stronger animals to Jacob.