• 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 Conversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color Conversion


  • Subject: Re: Color Conversion
  • From: Richard Smykla <email@hidden>
  • Date: Sat, 3 Feb 2001 11:04:01 -0500

I need to convert some RGB colors to HLS and/or HSV?
Does anyone know the proper math/syntax to do this???

for Example: given RGB value: {6168, 19275, 33153}
--> {211, 79, 30}
ie:
H: 211
L: 69
S: 30

Have been searching apples web site but can only find programming code
(WAY outa my league) to handle this.

Thanks,
xandra


Xandra,

Check the threads in this discussion:

http://www.bumppo.net/lists/realbasic-nug/2000/06/msg02225.html

Also, for a detailed discussion of color-spaces:

http://www.nevod.ru/linux/doc/Grokking-the-GIMP-v1.0/node52.html

Hope this helps.

Rick
--
Rick Smykla
email@hidden


  • Prev by Date: Re: Push for applescript
  • Next by Date: Re: Get list of active fonts
  • Previous by thread: Turn on remote File sharing
  • Next by thread: Scripting Netscape Communicator Mailer
  • Index(es):
    • Date
    • Thread