Growing Eu-Sol Tomato Seeds you can see how dominant and recessive inheritance works in the real world.
The seedlings will have cotyledons which are either green (G, a dominant trait) or golden (g, a recessive trait) and a hypocotyl which is either purple (H, dominant) or green (h, recessive).
The Eu-Sol Tomato Seeds are the offspring of GgHh x GgHh so have the following genetics...
...which gives the following ratios...
The EU-SOL project is supported by the European Commission through the 6th framework programme.