Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!fido.wpd.sgi.com!texas.asd.sgi.com!robert From: robert@texas.asd.sgi.com (Robert Skinner) Newsgroups: comp.sys.sgi Subject: Re: hsbcolor to rgbcolor Message-ID: <1991May21.152711.7657@fido.wpd.sgi.com> Date: 21 May 91 15:27:11 GMT References: <1991May21.025511.20124@news.iastate.edu> Sender: news@fido.wpd.sgi.com (Usenet News Admin) Reply-To: robert@sgi.com Organization: Silicon Graphics Inc., Advanced Systems Division Lines: 19 In article <1991May21.025511.20124@news.iastate.edu>, raeker@tc4.chem.iastate.edu (Todd J. Raeker) writes: |> |> I don't know if I can phrase this correctly or not but here goes. |> |> What I need is a formula of some sort that will convert a given set |> hsb color values to the corresponding rgb color values. I am trying |> to write a gl program that uses hsb color values much like the PostScript |> language does, however, I do not want to use PostScript to draw on the |> screen my graphics images. Any help would be greatly appreciated as I am |> out of ideas of my own. Thanks in advance. |> use the routine hsb_to_rgb in libutil.a. There is a man page. -- Robert Skinner RS-232 refers to a "standard" in about the same way that "Delaware" refers to a location - you know enough to find it and get lost.