In Genesis, it is described as a sign of God's Mercy as well as the pact/covenant He made with Noah that such a flood would not be sent again. In Ezekiel 1:26-28, colors of the rainbow are compared to the glory of God while in Revelation; Apostle John compares the rainbow colors to the glory or power of God.