It is just a colour to help you distinguish the partitions. Red seems to be used for the second partition, whereas blue is used for the first. Sometimes you will have disk images that have a tiny first partition and a larger second partition, making the bar effectively completely red.