Did you know, that you can convert at HEX colorcode to RGB by calculator?
This is how to do it!
Converting HEX to RGB with a caluator the easy way
A HEX color code is just a HEX number representation of the decimal values for RGB, combined into one “code”.
It sounds complicated, but it isn’t.
Let’s have a look:
HEX color code: #FF2C16
The first two characters after the hashtag (#) stands for the amount of red,
the second two for green,
and the last two for blue.
Now, you know how to split up the RGB colors from one HEX code. The only thing you have to do now is to calculate the decimal value for each pair.
In the table below, we have already done it.
HEX value (hexadecimal value) | Decimal value | |
Red | FF | 255 |
Green | 2C | 44 |
Blue | 16 | 22 |
So for red the HEX-value is FF. This can be calulated to the decimal value: 255 – which is what you need for RGB colors.
Convert HEX values to decimal with Windows calulator
If you have a Windows PC:
- Open the Calulator app
- Click the three lines in the top left corner and select “Programmer”

- Select HEX
- Write the HEX value, e.g. 2C
- The calulator now converts HEX value to decimal: 44
