POV-Ray : Newsgroups : povray.text.scene-files : HSL --> RGB : Re: HSL --> RGB Server Time
29 Jul 2024 02:24:56 EDT (-0400)
  Re: HSL --> RGB  
From: Ken
Date: 11 Oct 1998 21:48:06
Message: <362151AC.6CCBFF19@pacbell.net>
Mark Donovan wrote:

> I've done it. Here's a version of HSL to RGB and also a macro for HSB to
> RGB. The descriptions explain the difference. These versions work
> without trig or vector functions. To be complete, I've tacked on RGB to
> HSL and RGB to HSB conversions.
>

Very nice indeed. I have needed script like this for some time.
Any chance of doing a hex2rgb script ?

Ken Tyler


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.