About Hexadecimal Color Codes
Article ID: KB101304
A hexadecimal color code takes the form: #RRGGBB, where RR is the hexadecimal
value for red, GG for green, and BB for blue.
What's "hexadecimal"?
The typical numbering system that everyone is used to is the "decimal"
numbering system, which uses the symbols 0-9. When you count past nine, you
don't even have to think about it, but automatically add more digits as
necessary - from 9 to 10, from 19 to 20, etc. It makes sense to add a "1" to the
next place, and to change the ones digit back to "0."
The hexadecimal numbering system works similarly, except that it uses the
symbols 0-9 and also A-F. Counting up in hexadecimal would look something like
this: 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, where "F" = 15 in the
normal decimal numbering system and "10" = 16. "FF" would equal 255.
RGB Values and Hexadecimal Form
Hexadecimal is perfect for use with defining color values, because the
red-green-blue color model defines colors in terms of red, green, and blue
values. And guess what - the red, green, and blue values are defined by using a
number from 0 to 255! So, for a "red" color where red = 255, green = 0, and blue
= 0, you can express it in hexadecimal form by writing: "FF0000" where FF = red
= 255, 00 = green = 0, and the last 00 = blue = 0.
Was this helpful?
Please rate this article:
Email address: (not required)
(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)
Comments: (How can we improve this article?)
Clicking "Submit" will not clear this page.
link to this page:
http://www.pixelmill.com/support/al1055/kb101304.htm
permalink to this article:
http://www.pixelmill.com/support/kb101304.htm
Back to top