Function:
Returns the name of the receiver as a localized string.Notes:
The name of color object as a localized string. This string may be displayed in user interface items like color pickers.
(Read only property)

Function:
Return the type of the color, which in turn determines which accessors are valid for this color. Notes:
It's an exception-raising error to use properties that are not valid for a color; so, before using a given accessor on a color, call colorUsingType to convert the color to the appropriate type. Or, if wanting to use colorSpace-specific accessors such as redComponent, convert to the desired colorSpace with colorUsingColorSpace.

Note that as of macOS 10.13, the new APIs type and colorUsingType replace colorSpaceName and colorUsingColorSpaceName as the funnel APIs for determining the type of color. In code destined to run on 10.13 and newer systems, subclassers are encouraged to implement these two rather than the older colorSpaceName based methods.