Different liquids have different masses and different densities.
For example, oil is less dense than water and will float on top of its surface. By combining liquids of different densities like water,c/oil/lampoil etc and adding food coloring, you can make an entire rainbow in a jar.
Add Food coloring into different liquids like Water,oil etc»Mix those different liquids in a Jar»Wait for the liquid to settle