I beleive your equation will not work for recessive gene as they need to be Homozygous to be visual. Only Dominate and Co-Dominant will work.