Result
This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.
Facts and limits of this method
| Short form | #RGB — each digit is duplicated (#3af → #33aaff) |
|---|---|
| Full form | #RRGGBB — six hexadecimal digits |
| R/G/B range | 0 to 255 for each channel |
| Leading hash | Optional — "3B82F6" is recognized the same as "#3B82F6" |
When it misleads you
- The HEXA format with an alpha channel (8 digits, #RRGGBBAA) isn't recognized by this converter — it's built for opaque colors only; for a color with transparency, use the HEX to RGBA converter instead.
- Letter case (a-f or A-F) doesn't matter — both give the same result.
- Invalid input (not 3 or 6 hex digits, stray characters) produces a dash in every result field and a transparent swatch — the converter doesn't try to guess what was meant.
- An RGB value by itself carries no color-profile information (sRGB, Display P3 and so on) — the converter works with the numbers as-is, without doing color correction for a specific monitor.
How it is calculated
The HEX code is checked against the short (3-digit) or full (6-digit) format, with an optional leading hash stripped.
The short form is expanded to the full form by duplicating each digit: "3af" becomes "33aaff".
Each pair of hex digits is converted to a decimal number from 0 to 255 — these are the red, green and blue values respectively.
The color swatch is filled directly with the same HEX code via CSS, so it visually matches what you'd get using that color in a real layout.
Questions and answers
Do I need a leading hash before the HEX code?
No, the converter recognizes the code with or without one — "3B82F6" and "#3B82F6" give the same result.
Does the 3-character short form work?
Yes, "#3af" is automatically expanded to the full "#33aaff" before the calculation.
What about transparency (the alpha channel)?
This converter only handles opaque colors. For a HEX code with an alpha channel, use the separate HEX to RGBA converter.
Is my data sent anywhere?
No, the whole calculation runs in your browser.