 This is the reason why different alleles of a gene can have different effects on an organism.As an example, hair color depends on how much of a dark substance called melanin is put into the hair as it grows.If a person has a normal set of the genes involved in making melanin, they make all the proteins needed and they grow dark hair.