Squirt shaving cream into a pan and add food coloring. I used powdered food coloring but I believe that the liquid version would work a lot better. Use whip cream if you plan on eating them.
Roll the eggs around covering them completely with shaving cream then set aside for at least 20 minutes. White eggs will give you bright colours while brown eggs will give deep rich colours.
Wipe off the shaving cream with a paper towel and you are left with tie-dye looking eggs.