Convert RGB Color Values into HTML / HEX Color Codes – and Vice Versa

On PCs and websites, colors are often specified as RGB, HEX or HTML color codes. Not all programs or apps support both. If you want to convert one color code into the other, you can do this without any additional program.
Perhaps you have determined the HEX code of a color from the Microsoft PowerToys via the color picker that you want to use for something specific (e.g. # 6397cd). But in the drawing app Paint, for example, color codes can only be entered as RGB color values (e.g. 99, 151, 205). Sometimes it is also the other way around and the app (e.g. the web browser) only knows HEX / HTML color codes and cannot display the color name.
There are a few ways to convert the codes. Every graphics program knows this. For example, in the Gimp image editor, click on the field for change foreground color and on the 0..255 button . At the top right of the color selector you can now see the values for RGB (red, green, blue), such as “99.0, 151.0, 205.0”, and below the HTML notation, here “6397cd”. So if you only have one color code for a desired color and need the other, you can enter the values in a tool like this and have them converted.
On PCs and websites, colors are often specified as RGB, HEX or HTML color codes. Not all programs or apps support both. If you want to convert one color code into the other, you can do this without any additional program.
There are a few ways to convert the codes. Every graphics program knows this. For example, in the Gimp image editor, click on the field for change foreground color and on the 0..255 button . At the top right of the color selector you can now see the values for RGB (red, green, blue), such as “99.0, 151.0, 205.0”, and below the HTML notation, here “6397cd”. So if you only have one color code for a desired color and need the other, you can enter the values in a tool like this and have them converted.
In Windows
Is there no suitable graphics program available? Windows itself also understands both variants. Take advantage of this: Go to Start / Settings / Personalization / Background . Under Select background color click on the plus sign in front of Custom color. Open the menu for More below the color palette. Here you will find two options for entering the color code: on the left you could specify the exact color you want using RGB values, on the right you could click into it, mark the existing HEX / HTML color code including the # symbol with the mouse and use the color code you know (example # 6397cd) overwrite or with Ctrl +Paste V ( Ctrl + V ). The trick here is of course: you don’t have to accept the color now, you can cancel the exercise again if you don’t want your desktop.. This setting tool is therefore ideally suited to converting HTML color codes (# 6397cd) into RGB values (99, 151, 205) – and vice versa.
Via Office program or web service
In Office
Do you have Microsoft Office installed? Again, it’s just a matter of calling up the color picker; You don’t have to use the color. For example, open Word with a blank sheet of paper and switch to the Draft tab . At page background click color pages and select other colors. Navigate to the tab User defined. And voilà: you have the little color converter in front of you. Once you have determined the color code you want, click Cancel.
Via web service
There are also websites that offer conversion. For example, surf to this address https://www.farb-tabelle.de/de/rgb2hex.htm . In the field under “RGB to HEX or HEX to RGB”, for example, type 99, 151, 205 and click on Convert . The page already shows detailed information about exactly this color, such as the hex and RGB color values and even the CMYK values, as are common in the printing industry. The web service even shows what the complementary color of the queried color is. This means the one that is exactly opposite this color in the color wheel. Definitely a bookmark tip!