Creates a new color object for the same color, but in the specified color space and specific to the given device.
- macOS 10.0–10.14Deprecated
The name of the color space containing the new
nil, the most appropriate color space is used.
The device description. Device descriptions can be obtained from windows, screens, and printers with the
nil, the current device (as obtained from the currently lockFocus’ed view’s window or, if printing, the current printer) is used.
The new NSColor object or
nil if the specified conversion cannot be done.