RGB

  • Thread starter Thread starter Douglas J. Steele
  • Start date Start date
D

Douglas J. Steele

I think you'll find that 4562566 isn't Red.

Convert that value to Hex and you should get 459E86. The first 2 digits (Hex
45, or Decimal 69) are the Blue value, the next 2 digits (Hex 9E, or Decimal
158) are the Green value, and the last 2 digits (Hex 86, or Decimal 134) are
the Red value, so that's RGB(134, 158, 69).

You can calculate those values as:

?4562566 And 255
134
?4562566\256 And 255
158
?4562566\256 ^ 2 And 255
69

or

?4562566 And &HFF&
134
?(4562566 AND &HFF00&) \ &H100&
158
?(4562566 And &HFF0000&) \ &H10000&
69
 
Hi Every Body

I Send This Mesage Before But I Miss The Code And The Message So Please Can
Any One Help Me

I Need To Convert The Color From Long To RGB Format

for example How Can I Know That The Color 4562566 Is Red For Example To
Represent It As RGB(0,0,255)

Sorry For Dublicating The MEssage
And My Best Regards And Complements To Every Body
 
Hi, RABEA.
I Send This Mesage Before But I Miss The Code And The Message

You can easily track your previous newsgroup messages by using Google
Groups' Search Web page:

http://groups.google.com/advanced_search?scoring=d&num=100&hl=en&lr=lang_en&as_drrb=q&safe=off&

Enter the name you posted under in the "Author" text box and select the
"Search" button. Google will show the following Web page, which shows your
previous newsgroup questions posted under that name and all of the replies:

http://groups.google.com/groups?as_...81&as_maxd=24&as_maxm=9&as_maxy=2007&safe=off
And My Best Regards And Complements To Every Body

Glad to hear it.

HTH.
Gunny
 
Thank You But Would You Mind To Send The Code To Me Again

And Thanks For You And For Genny
My Best Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top