Yes, many factors. Genetic codes alone do not determine the coloration of an individual. They may play the strongest part, but certain genes can actually be activated or deactivated by poor nutrition, stress and more in humans, and I suspect the same may hold true in other cases. So even if one of your fish inherits the possibility of expressing a trait, it may not do so if raised in the wrong pH, type of protein, etc.