matching html & rgb colors
How do you find the RGB code for
an HTML color?
I'm trying to match color #DBDCC9.
Any help is appreciated.
Thanks
How do you find the RGB code for
an HTML color?
I'm trying to match color #DBDCC9.
Any help is appreciated.
Thanks
Renegade posted this at 18:50 — 14th September 2004.
He has: 3,022 posts
Joined: Oct 2002
If you are using Windows, just open up the calculator in accessories. You should be able to figure out how to convert there
AyntRyte posted this at 19:27 — 14th September 2004.
He has: 145 posts
Joined: Jun 2004
http://eies.njit.edu/~kevin/rgb.txt.html
cbc58 posted this at 20:07 — 14th September 2004.
They have: 140 posts
Joined: Nov 2003
Thank you.
OtterBob posted this at 13:57 — 15th September 2004.
He has: 46 posts
Joined: Jun 2004
For those who launched Calculator and have absolutely no idea what to do next, this should help.
You need to be in Scientific mode. (You can change modes in the View menu.) Standard mode is your basic calculator; Scientific mode has things like "Hex", "Dec", "Oct", "Degrees", "Radians", etc.
An "HTML" color is hexadecimal, which means there are 16 "digits" instead of 10 like we're used to. The first two "characters" are the Red value, the next two are the Green value, and the last two are the Blue value. So in DBDCC9 the Red value is DB, the Green value is DC, and the Blue value is C9. (Confused? Don't worry about it; just break it up like that and follow along in the next paragraph.)
OK, your calculator is in Scientific mode. Just under where it displays the answer, on the left side you'll see Hex, Dec, Oct and Bin. Select Hex. Now on the bottom of the calculator just under the numbers you'll see buttons labelled A through F. Click D, then click B. (We're converting the Red value now.) Back up on the left next to Hex, click Dec. The "answer" is 219. The Red value of this color is 219.
Let's move on to the Green value, which is DC. Clear the calculator's display and select Hex again. Just like you did above, click D then C. Now select Dec. The answer is 220. So the Green value for this color is 220. Do this again for the Blue value of C9 and you get 201.
So the "HTML" color DBDCC9 is 219,220,201. You can do the same thing in reverse to go from RGB to "HTML".
"In theory, there's no difference between theory and practice. In practice, there is." -- Yogi Berra
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.