Enter a value and select Convert.
Result
Method and worked example
A six-digit hexadecimal color contains three byte pairs: RR, GG, and BB. Each pair is converted from base 16 to a channel from 0 through 255. Three-digit shorthand expands each digit first, so #0F8 becomes #00FF88.
Example
#FF8000 becomes rgb(255, 128, 0). Hexadecimal digits use 0–9 and A–F, where A=10 through F=15.
Limits and signed values
This page accepts 3- and 6-digit hexadecimal colors with an optional # or 0x prefix. Alpha-channel forms, color-name lookup, and broad color design tools remain outside this focused conversion.
Safe, exact local processing
Input is handled as inert data and rendered with safe text nodes. No code is evaluated. Integer tools use arbitrary-precision BigInt instead of floating-point conversion, and the Binary Translator uses the browser’s UTF-8 byte APIs.
