In a rainbow family, the genes of children's skin color are different from those of eyes and hair color, and the proportion of each group of genes that children get from their parents is 5%. In other words, this phenomenon may be caused by different gene combinations, which is a random phenomenon.
In addition, some rainbow families are called "rainbow families" by the media because they adopt children from many countries.