POV-Ray : Newsgroups : povray.newusers : Dealing with colours : Re: Dealing with colours Server Time
29 Jul 2024 10:26:57 EDT (-0400)
  Re: Dealing with colours  
From: helge h
Date: 14 Mar 2006 21:15:00
Message: <web.441777ae2ff0c10f1c6902970@news.povray.org>
"ChaoZ" <nomail@nomail> wrote:
> As much as I try, I find it so difficult to deal with RGB colors in a 0 to 1
> scale. When it comes with dealing with colour maps (such as those used to
> create a sky for example) my confusion is compounded.
>
> For example, what does this
>
> 0.50 rgb <0.1, 0.2, 1>*0.9
>
> mean? It is used within a color map statement, so I assume a portion of the
> map will have that colour.
>
> I have read the POV-Ray manual and I am no clearer. Are there tools out
> there to help determine the RGB values? Perhaps there is something within
> POV-Ray itself that I have overlooked?

At the end of colors.inc (in the include folder in the POV-Ray main folder)
there are some macros that convert colors in different formats (HSB to RGB
etc.).

H


Post a reply to this message

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