Your question is a bit confusing but I think I got it
I am crossing a heterozygous black male with a heterozygous black female
where black is dominant to white
The genotype ratio would be 1:1:2 with 1 homozygous dominant pig 1 homozygous recessive pig and 2 heterozygous pigs
The phenotype ratio would be 3:1 with three black pigs and one white pig