How To Convert From RGB to Hex on a Windows Computer

When using color on Web pages, you might prefer to use hex codes, but many graphics programs describe colors as RGB.
It’s simple to convert an RGB code into a hexadecimal triplet for your Web page.

Open the Widows Calculator found under Accessories.

Windows Calculator

  1. Choose an RGB color you would like to convert. For example, a pale turquoise in RGB is 175,238,238.
  2. Open the calculator, and in the view menu, change it to Scientific.
  3. Make sure that the “Dec” radio button is selected.
  4. Enter the first number in the RGB code into the calculator. In this example, that would be 175.
  5. Click on the “Hex” radio button.
  6. Record the code that appears as your first two digits of your hex-triplet. In this example, that would be af.
  7. Repeat with the two remaining RGB codes. For my example, I get ee and ee again. My resulting hexadecimal code is #afeeee.

Leave a Reply