How to Convert HTML Colors to RGB
HTML (Hypertext Markup Language) is the language used for creating web pages. Since everything on a web page is in this code, the colors used on web pages also must be in this defined code. HTML colors are essentially six-digit codes that represent a corresponding RGB (Red, Green and Blue) color value. Converting from an HTML "hex" code to its proper RGB code could easily be done by looking at a chart, but since there are millions of possible codes, a simple web program can be used.
Instructions
-
-
1
Find the HTML or "hex" color code you wish to convert to RGB.
-
2
Select the hex code and copy it by right-clicking and selecting "Copy." Be sure to not include the # sign if it is displayed.
-
-
3
Go to the Color Converter website by Yellowpipe Internet Services (see Resources).
-
4
Paste your hex code into the "Hex Code" box on the web page.
-
5
Click the "Hex > RGB" button to convert the code. You will now see your RGB values in the boxes to the right of your hex code.
-
1
Tips & Warnings
You can use this web application to convert back to your HTML value from an RGB code by using the input fields directly under the Hex > RGB converter.
References
Resources
- Photo Credit Icon by oxygen-icons.com