Look at what's hanging from the machine.
There are seven flasks.
Just like the seven colors of the rainbow.
You need to pour something in those flasks to make a rainbow.