POV-Ray : Newsgroups : povray.binaries.tutorials : Colors question. Server Time21 Jul 2024 06:33:29 EDT (-0400)
 Colors question. (Message 1 to 3 of 3)
 From: Mr 3D Subject: Colors question. Date: 12 Oct 1999 17:07:56 Message: <3803a32c@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3803a32c%40news.povray.org",
"dateCreated": "1999-10-12T21:07:56+00:00",
"datePublished": "1999-10-12T21:07:56+00:00",
"author": {
"@type": "Person",
"name": "Mr 3D"
}
}
how would I turn an RGB value of 156,111,90 into a povray RGB value?
```
 From: Ken Subject: Re: Colors question. Date: 12 Oct 1999 17:45:54 Message: <3803ABD4.F3413AA4@pacbell.net>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3803ABD4.F3413AA4%40pacbell.net",
"dateCreated": "1999-10-12T21:45:54+00:00",
"datePublished": "1999-10-12T21:45:54+00:00",
"author": {
"@type": "Person",
"name": "Ken"
}
}
"Mr.3D" wrote:
>
> how would I turn an RGB value of 156,111,90 into a povray RGB value?

Divide by 255 ---> rgb < 0.611, 0.435, 0.352 >

--
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
```
 From: TonyB Subject: Re: Colors question. Date: 12 Oct 1999 19:57:54 Message: <3803cb02@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3803cb02%40news.povray.org",
"dateCreated": "1999-10-12T23:57:54+00:00",
"datePublished": "1999-10-12T23:57:54+00:00",
"author": {
"@type": "Person",
"name": "TonyB"
}
}
>> how would I turn an RGB value of 156,111,90 into a povray RGB value?
>
>Divide by 255 ---> rgb < 0.611, 0.435, 0.352 >

OR, easier:

rgb <156,111,90>/255
```