Color me purple, or red, or green, or …

Scientists have, for the first time, developed nanoscale devices that divide incident white light into its component colors based on the direction of illumination, or directs these colors to a predetermined set of output angles.