This is an analogy. We're comparing the typical color of a plant (green) to the typical color of the sky (blue).