Moisture makes the cortex become more transparent. This way, the algae can conduct photosynthesis when moisture is available, and is protected at other times. When the cortex is more transparent, the algae show more clearly and the lichen looks greener.