First, researchers created a gene which could be recombined in various arrangements to express one of four different colours. Then, multiple copies of this gene were inserted in the genome of mice or other species, resulting in the random expression of various colour ratios.