• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: color


  • Subject: Re: color
  • From: j o a r <email@hidden>
  • Date: Fri, 30 May 2003 00:31:51 +0200

Convert the hex values to decimal form and create the color with this method:

+ (NSColor *)colorWithCalibratedRed:(float)red green:(float)green blue:(float)blue alpha:(float)alpha

j o a r

On Friday, May 30, 2003, at 00:11 Europe/Stockholm, Rhon Fitzwater wrote:

Can some one tell me how to set NSColor so it is this hex color
(#33CCFF ) which can be seen at
http://hotwired.lycos.com/webmonkey/reference/color_codes/

Right now I have this as my code: [NSColor cyanColor] but that color
is noticably different than what I want. If someone can help me with
the code that would be great.
_______________________________________________
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.

References: 
 >color (From: Rhon Fitzwater <email@hidden>)

  • Prev by Date: Re: color
  • Next by Date: Re: color
  • Previous by thread: Re: color
  • Next by thread: Re: color
  • Index(es):
    • Date
    • Thread