Color Mapper
A mapping function used with map.
Parameters
space
: The ColorSpace of the color being mappedcomponents
: The components of the color to map.
Returns
The new color components. You may alter and return components
directly, or a new array the same size as components
.