Can two values be represented in one cylindrical tank?

I was wondering if it is possible to have two values be represented by two different colors in one tank. For example, I’m using the tank to represent a gas mix and want to show the mixture in one tank. The gas mixture does fluctuate and I was to see the fluctuation in the tank.

This Exchange resource does exactly that.