Domain Registration : Discount Domain Pricing : Website and Domain Hosting : Frontpage 2000 Hosting : Website Development and Promotion : Secure E-Commerce : Shopping Cart Software : Linux and Windows NT : Graphic Design : Free Email Services : Fast Servers : Low Cost!


Note: This tutorial requires the Microsoft Calculator (If you don't have it, install it via Control Panel/Software/Windows Setup/ )

First, switch the Calculator in "Scientific" mode. To switch, go to "View" and click on "Scientific". Make sure that "Hex" was displayed on the calculator.

The colors we use on the web, come in a certain format. It always looks something like: FF000A. In order to be able to convert it, split it up in 3 parts: "FF", "00" and "0A". From RGB we know, that every color has certain Red, Green and Blue values. Hexadecimals are the same. It has Red, Green and Blue values in that order. From the example, to convert the Red value, put "FF" in the Calculator in "Hex" mode and click at "Dec", which stands for decimal. You should see a "255" appear in your calculator.

The next would be "00", but this one is special, zero is always zero, it doesn't matter how many zeros there are. Continue to "0A". This time enter just the "A" in the calculator and click at "Dec" again, and got a "10". If the hex would have been "A0", I would have entered "A0" in the calculator, but when the zero is first, you do not need to do it. It is like if you enter 01 it is still 1.

Therefore "FF000A" in decimals (and RGB values) is 255, 0 and 10.

It works backwards too for converting RGB to Hex.

Copyright © 1995-2003 Sidetrips™ Internet Services, Inc. All rights reserved.

Reproduction in whole or in part in any form or medium without express
written permission of Sidetrips Internet Services, Inc. is prohibited.

sidetrips.com™, hostserver.com™, registera.com™, htmlshop.com™,
and associated domains are trademarks of Sidetrips™ Internet Service, Inc.

Privacy Policy | Acceptable Use Policy | Terms of Service