A bubble reflects colours from its surroundings. It is similar to the theory of how a rainbow produced its colours. The layer of a bubble is very thin. Therefore, it is not possible to apply colour to a bubble.
What is a rainbow?
A rainbow is created when there is both sunlight and rain. With this combination, spectrum of colours is produced. The word “bow” describes the rainbow having a group of nearly circular arcs of colours, with a common center. When you face a rainbow, the sun is always behind you. The center of the rainbow arc is in the direction opposite of the sun. The rain is in the direction of the rainbow. The different colours in a rainbow is caused by sunlight and raindrops. Red receives the least sunlight, while violet receives the most.