range 0<=n<=colormode. If the argument doesn't represent a color, an error is raised. rž