Re: NSColor and #xxxxxx format colors
Re: NSColor and #xxxxxx format colors
- Subject: Re: NSColor and #xxxxxx format colors
- From: Mark Levin <email@hidden>
- Date: Thu, 26 Dec 2002 20:27:10 -0600
Just might want to add that it's a good idea to convert it to RGB
space first. The docs say "it's illegal to ask an NSColor for
components that aren't defined for its color space", see
Yep, attempting to access the wrong components throws an exception. You
can also convert it more efficiently (in code if not performance) with
colorUsingColorSpaceName.
--Mark
"You can never have too much overkill."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.