POV-Ray : Newsgroups : povray.newusers : RGB color : Re: RGB color Server Time
4 Sep 2024 22:17:27 EDT (-0400)
  Re: RGB color  
From: Rafal 'Raf256' Maj
Date: 24 Jun 2002 15:29:12
Message: <Xns9237DA1033FA4raf256com@204.213.191.226>
"Bernd Michler" <mb### [at] anti-trojannet> wrote in
news:3d177283@news.povray.org: 

> Hello,
> I would like to use a color from my website in a pov-file.
> Its 255, 203,151
> but if I use it with the rgb function, i get a white color? Thats not
> white in rgb colors from windows.
> Whats wrong?

color rgb 1
color rgb <1,1,1>

POV-RAY's rgb values are 0.0 to 1.0 not 0 to 255
You can alsow use
color rgb <r/255,g/255,b/255> where r,g,b are 'windows' color values


-- 


Post a reply to this message

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