The separation of a pencil of rays of white light into rays of coloured light by means of a prism or other refracting medium.