Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!ucbvax!hplabs!hpfcdc!hpfcdq!jlg From: jlg@hpfcdq.HP.COM (Jeff Gerckens) Newsgroups: comp.graphics Subject: Re: RGB HLS conversion ? Message-ID: <390031@hpfcdq.HP.COM> Date: 4 May 89 22:05:51 GMT References: <471@prles2.UUCP> Organization: Hewlett-Packard - Fort Collins, CO Lines: 29 > Is there a standard way to convert from the RGB color system to the > HLS color system? Where do I find references? > > > BBBBB t Bart van Pelt > B B t Philips Natlab Eindhoven > B B aaaaa rrrr tttt (031) 040-743868 > B BB a r r t > B B aaaaa r t > B B a a r t t vanpelt@nvpna1.prl.philips.nl > BBBBBBB aaaaaa r tt Any reasonable text on Computer Graphics has the algorithm. In particular, you can try: Fundamentals of Interactive Computer Graphics by Foley and Van Dam (Addison Wesley) section 17.4.5 or Procedural elements for Computer Graphics by David F. Rogers (McGraw-Hill) ~pp403-406. (Make sure it is a new edition, the first edition contains a typo in the algorithm) -- Jeff Gerckens, Hewlett-Packard Graphics Technology Division (...!hplabs!hpfcrg!jlg or jlg%hpfcrg@hplabs.hp.com )