The angle of incidence of all the rays is at the hypotenuse. For a critical angle of , the refractive index must be
For red light, . hence, its critical angles are <. therefore, red light will pass through the surface into air.
For green and blue lights, . Hence, their critical angles are . They will be reflected internally and emerge from the surface at the bottom.