How to use this tool
- Enter hex color (#rrggbb).
- Select Update result to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Hex color (#RRGGBB) | Enter text using the format shown in the sample. | #2855ec |
Result for these sample inputs
rgb(40, 85, 236)
Processed locally. Review the output before using it.
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Read each two-digit hexadecimal component as an integer from 0 to 255.
#2855ec becomes rgb(40, 85, 236).
What to keep in mind
Requires six digits and a leading #. Alpha transparency and shorthand hex are not supported.
Common questions
How does this tool handle my input?
Processing happens in your browser. Your pasted content is not uploaded, included in URLs or stored as a calculation history.
What input should I use?
Hex color (#RRGGBB): use the example already shown, then replace it with your own content. Requires six digits and a leading #. Alpha transparency and shorthand hex are not supported.
Methodology maintained by ClarityKit. How these tools are built and checked.