Date: Wed, 30 Dec 2015 08:49:41 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Ian Smith <smithi@nimnet.asn.au> Cc: freebsd-questions@freebsd.org Subject: Re: [OT] Light frequency or wavelength to (eg RGB) colour Message-ID: <alpine.BSF.2.20.1512300846440.68347@wonkity.com> In-Reply-To: <20151231012759.I8562@sola.nimnet.asn.au> References: <20151231012759.I8562@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 Dec 2015, Ian Smith wrote: > does anyone know of a method - preferably a formula - for converting > known frequencies (or complementarily, their wavelengths) within the > visible spectrum to its colour rendition in RGB, CMYK or whatever? http://stackoverflow.com/questions/1472514/convert-light-frequency-to-rgb The first answer supplies as many formulas as anyone might want. Scroll down and there is a Pascal routine to actually do the conversion.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1512300846440.68347>