He was told that spotted sheep were more valuable, so earlier he crossed heterozygous sheep to make more with different markings. Here he's just being dumb and relying on local superstition that that is how one makes different colored sheep.
Jacob was kind of a conniving prick like that. For future reference, my go-to source for bible commentary is Dr. Constable. Just Google "(verse #) dr constable"