Fill the glass jar up with tap water leaving at least 2 inches from the top of the glass.
Spray the Barbasol shaving cream on the top of the water. You need a decent amount, but the more you add the harder it will be for the food coloring to go through.
Drop food coloring on the shaving cream and watch as the food coloring seeps through the shaving cream.