Striking colors that are seen only in the males of some species are partly explained by gene behavior, research into guppy fish suggests.