🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2966

Re: RGB and IHS controls

#2966
From: Ron Burk
Date: Thu, 30 May 1991 18:38
14 lines
1022 bytes
aew@eosvcr.wimsey.bc.ca (Alan Walford) writes:

> 
> Anybody know the conversions between RGB (red, green, blue) and IHS
> (intensity, hue, saturation) ?

I think you want the Tektronix HLS (hue, lightness, saturation) model
(because I think that's what the Windows desktop uses).  In any case,
this and other models are supplied in "Fundamentals of Interactive
Computer Graphics", by Foley and Van Dam.  The algorithm they supply
is not the simple matrix multiplication you suggest.

Has anyone made a free HLS color slider for Windows apps that
everyone can use?
Technical Details
Message-ID: <RawR31w163w@burklabs>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!polari!rwing!seaeast!burklabs!ronb
References: <c3Re32w162w@eosvcr.wimsey.bc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!polari!rwing!seaeast!burklabs!ronb
From: ronb@burklabs (Ron Burk       )
Newsgroups: comp.windows.ms.programmer
Subject: Re: RGB and IHS controls
Message-ID: <RawR31w163w@burklabs>
Date: 30 May 91 18:38:26 GMT
References: <c3Re32w162w@eosvcr.wimsey.bc.ca>
Organization: Burk Labs, Redmond WA
Lines: 14