make randIntInRange and randomColorValue inclusive on max side