I have some long integer color values that I need to convert to RGB parameters.

I saw a formula for this somewhere, but cannot remember the specifics and
cannont find a referenece on-line.

Dale
--

email address is invalid
Please reply to newsgroup only.

RE: Convert long integer color value to RGB by pptheaven[AT]gmail[DOT]com>

pptheaven[AT]gmail[DOT]com>
Wed Mar 12 13:13:01 CDT 2008

You can look for online convertor (Search for RGB to Hex Converter):
http://bumblemonkey.com/picker/picker.html
--
Shawn Toh (tohlz)
Microsoft MVP PowerPoint

Site Updated: Feb 20, 2008
(Amazing PowerPoint animations, artworks, games here)
http://pptheaven.mvps.org
PowerPoint Heaven - The Power to Animate


"Dale Fye" wrote:

> I have some long integer color values that I need to convert to RGB parameters.
>
> I saw a formula for this somewhere, but cannot remember the specifics and
> cannont find a referenece on-line.
>
> Dale
> --
>
> email address is invalid
> Please reply to newsgroup only.
>

Re: Convert long integer color value to RGB by Chirag

Chirag
Wed Mar 12 13:44:40 CDT 2008

Here is a sub routine that you can use:

---
Sub ConvertLongToRGB(ByVal Value As Long, R As Byte, G As Byte, B As Byte)
R = Value Mod 256
G = Int(Value / 256) Mod 256
B = Int(Value / 256 / 256) Mod 256
End Sub
---

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Dale Fye" <dale.fye@nospam.com> wrote in message
news:18A7DE39-7D7B-4D72-B42E-61DAB9E0956C@microsoft.com...
>I have some long integer color values that I need to convert to RGB
>parameters.
>
> I saw a formula for this somewhere, but cannot remember the specifics and
> cannont find a referenece on-line.
>
> Dale
> --
>
> email address is invalid
> Please reply to newsgroup only.


Re: Convert long integer color value to RGB by Dale

Dale
Wed Mar 12 19:08:45 CDT 2008

Thanks, guys.

I eventually found what I needed in the Powerpoint help. I had looked at
the RGB property, but didn't realize that there was also a function, and the
function example gave me what I needed.

Dale

"tohlz" <pptheaven[AT]gmail[DOT]com> wrote in message
news:6DEEB77B-5B44-4BF7-B597-693881C8E6C1@microsoft.com...
> You can look for online convertor (Search for RGB to Hex Converter):
> http://bumblemonkey.com/picker/picker.html
> --
> Shawn Toh (tohlz)
> Microsoft MVP PowerPoint
>
> Site Updated: Feb 20, 2008
> (Amazing PowerPoint animations, artworks, games here)
> http://pptheaven.mvps.org
> PowerPoint Heaven - The Power to Animate
>
>
> "Dale Fye" wrote:
>
>> I have some long integer color values that I need to convert to RGB
>> parameters.
>>
>> I saw a formula for this somewhere, but cannot remember the specifics and
>> cannont find a referenece on-line.
>>
>> Dale
>> --
>>
>> email address is invalid
>> Please reply to newsgroup only.
>>