Re: RGB color values for NSColor
Re: RGB color values for NSColor
- Subject: Re: RGB color values for NSColor
- From: Rhon Fitzwater <email@hidden>
- Date: Tue, 26 Aug 2003 23:38:33 -0400
I tried this:
NSColor *col = [NSColor colorWithCalibratedRed:44728 green:43098
blue:65535 alpha:1.0];
The values are what I get from my applescript program that stores the
values of a color well. Are these values totally off? Is there some
conversion that I need to be doing?
Any suggestions?
Thanks,
-Rhon
On Tuesday, August 26, 2003, at 8:06 PM, Andreas Mayer wrote:
>
Am Mittwoch, 27.08.03 um 01:25 Uhr schrieb Rhon Fitzwater:
>
>
> can anyone show me some code that will do this or lead me in the
>
> right direction.
>
>
Look at NSColor's colorWithCalibratedRed:green:blue:alpha: class
>
method.
>
>
>
bye. Andreas.
>
_______________________________________________
>
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.
_______________________________________________
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.