Hex to RGB Converter
Convert a six-digit hexadecimal colour code into RGB values.
How to use Hex to RGB Converter
1. Enter Hex Colour. 2. Use six hex digits with an optional #. Alpha, shorthand hex, colour profiles and CSS named colours are not accepted. 3. Select Convert or press Enter. 4. Select Copy result to copy the answer, or Reset to clear the form and result.
Why use this tool?
Use six hex digits with an optional #. Alpha, shorthand hex, colour profiles and CSS named colours are not accepted.
How the calculation works
Decode each pair of six hexadecimal RGB digits as an 8-bit channel. Use six hex digits with an optional #. Alpha, shorthand hex, colour profiles and CSS named colours are not accepted. Counts and dimensions use the declared rounding convention; other numbers display up to three decimal places where applicable. Nonzero subsecond durations are labelled. Durations round to the nearest second; nonzero subsecond durations are labelled. File-size output units are decimal. Changing an input label does not convert filled values.
Example
Worked example: Hex Colour = "#FF8000". Result: rgb(255, 128, 0).
Practical tip
Check the input labels and assumptions against the hex to rgb task before reusing the number.
Frequently asked questions
What exactly does Hex to RGB Converter calculate?
Decode each pair of six hexadecimal RGB digits as an 8-bit channel.
Which units or counting rules apply?
Use six hex digits with an optional #. Alpha, shorthand hex, colour profiles and CSS named colours are not accepted.
Does this inspect, change or upload my files?
This page calculates the entered values or text in the browser. Numeric image/media tools do not transform files. Check the worked example and stated counting basis; the result does not certify device, search-engine or accessibility outcomes.