colorSpace upfdated to include unit range