In HTML, colors are typically signified in one of two ways. The RGB value of a color is represented by three values. One value for Red (R), another for Green (G) and one for Blue (B). The value for each can be a number from 0 to 255. The total string for a color is written like this: 154,345,123. Typically, in most image applications, each value has its own field.
Sidenote: I thought the primary colors were red, yellow and blue? Why are red, GREEN and blue being used here? There is a difference between color as pigment (such as paint) and color as light. Red, yellow and blue (technically it is cyan, yellow and magenta) are the primary colors for pigment. Light replaces yellow with green. Its a little weird, because any color wheel you find among web graphic designers follows a pigment based paradigm. However, the behavior of pixels follows that of light. Anyway, the curious can begin their lessons in color theory.
Colors are also represented by a HEX value which is a series of six (6) digits: 003366. Read more about hex values.
Colors are most often coded in HTML using their HEX value. However, most image applications use the RGB value. Thus the need to translate one value into the other and the need to have a handy RGB to Hex Converter at hand.
A lot of sites have such a converter but the one at 321webmaster one has two advantages:
- The site is up 99% of the time. I don’t know how many times I’ve gone to a converter I’ve bookmarked only to find the page no longer exists or the site is down.
- It works! There is nothing super special in coding a converter. However I’ve come across a few that appear on the web page but simply don’t work when executed.
The Absolute Color Picker can also be used as a RGB HEX Converter.




