createColorRange is deprecated, replaced by (slightly better) createRGBRange. Added comments.