Adding const to range_map
converting to_hex to use rgb object
adding gradient functionality and test