Genesis 30:31-41

31 And he said, What shall I give thee? And Jacob said, Thou shalt not give me anything. If thou doest this for me, I will again feed [and] keep thy flock:
32 I will pass through all thy flock to-day, to remove thence all the speckled and spotted sheep, and all the brown lambs, and the spotted and speckled among the goats; and [that] shall be my hire.
33 And my righteousness shall answer for me hereafter, when thou comest about my hire, before thy face: all that is not speckled and spotted among the goats, and brown among the lambs, let that be stolen with me.
34 And Laban said, Well, let it be according to thy word.
35 And he removed that day the he-goats that were ringstraked and spotted, and all the she-goats that were speckled and spotted, every one that had white in it, and all the brown among the lambs, and gave [them] into the hand of his sons.
36 And he put three days' journey between himself and Jacob. And Jacob fed the rest of Laban's flock.
37 And Jacob took fresh rods of white poplar, almond-tree, and maple; and peeled off white stripes in them, uncovering the white which was on the rods.
38 And he set the rods which he had peeled before the flock, in the troughs at the watering-places where the flock came to drink, and they were ardent when they came to drink.
39 And the flock was ardent before the rods; and the flock brought forth ringstraked, speckled, and spotted.
40 And Jacob separated the lambs, and set the faces of the flock toward the ringstraked, and all the brown in the flock of Laban; and he made himself separate flocks, and did not put them with Laban's flock.
41 And it came to pass whensoever the strong cattle were ardent, that Jacob laid the rods before the eyes of the flock in the gutters, that they might become ardent among the rods;