The metaphor refers to the fact that the kingfisher's plumage appears to include all of the colors of the rainbow, so brilliantly organized that it appears to have been done on purpose for a rainbow to become embodied in the bird's plumage.