How to create a rainbow in a jar

Different liquids have different masses and different densities.  For example, oil is less dense than…