Changing the colour of light on the nanoscale