Genesis 30:35 says that Jacob (English translation of the name Yakub) was able to produce unusually colored livestock through the use of a skillful breeding technique.
It took Jacob six years to successfully change the color of the flock.