Add color to faces based on the slope of the face.
Add color to faces based on the Z location (height) of the face.
This script will take the selection and paint it random colors that the user inputs.