Creates a new color object representing the color of the receiver in the specified color space.
- macOS 10.4+
The color space of the new
NSColor object. This method converts the receiver's color to an equivalent one in the new color space. Although the new color might have different component values, it looks the same as the original. Returns
nil if conversion is not possible.
If the receiver's color space is the same as that specified in
space, this method returns the same