Each color creates a slightly different solution with different densities, so water stratification keeps the colors from mixing unless the plate is disturbed in some way (pushing the water together by force).