|
-
Nov 7th, 2002, 05:36 PM
#1
Thread Starter
yay gay
how to get the rgb value from an hex color?
-
Nov 7th, 2002, 06:06 PM
#2
Thread Starter
yay gay
ahh discovered..im smart :P
the only way i discovered was using the GetHex or something like that in System.Uri...but it only gives 1char..and i wanted in groups of 2...so the formula is the following:
decimalHexNumber1 * 16 + decimalHexNumber2
FF = 255
F = 15
15 * 16 + 15 = 255
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|