Wednesday, 1 March 2006

Hexadecimal Colour Codes



As we all know Computers don't speak english (although their output might certainly be in english). Computers are built up of codes and of numbers, that are processed, and only then do we get the output. Hexadecimal Codes are codes that were developed (by IBM apparently) to handle the colours (or color as some of my American friends would say) in the computer. These hex colour codes can be used for a lot of things such as webpages and graphic designing. This system is a little more complex because when we talk about colours, there are millions of them, so in order for the hexadecimal system to work it needs to be complex.

Hexadecimal Codes, are based on the base 16 system, which means that the codes go up by sixteen (in our number system the numbers go up by 10). So in the hexaadecimal system the place value chart will look something like this:

So basically to find out a value you multiply blue letter or the number with the red number. And then that is your result. Then you do the same to all the other columns and then add up the answers that you get from multiplying them. The hex codes also have letters in them... because to continue to say fifteen you can't say it's 15 because the 1 would fall under the 16 column. So after you've exhausted all the numbers in that column then you can use letters from a-f. A=10 and F=15. Here's a chart for a few numbers


Basically you multiply the value in red and the value in blue. That's pretty much it. And that's how the colour code is made.




Got a question, tip or comment? Send them to beyondteck+question@gmail.com and we'll try to answer it in a blog post!

No comments:

Post a Comment