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
| Result format | #RRGGBBAA — eight hexadecimal digits |
|---|---|
| R/G/B range | 0 to 255 inclusive |
| Transparency range | 0 (fully transparent) to 1 (fully opaque) |
| Last two digits | The alpha channel: transparency converted to a number from 00 to FF |
When it misleads you
- The 8-digit HEX-with-alpha format isn't supported by every older browser or graphics editor — for maximum compatibility it's sometimes safer to specify color and transparency separately (as separate CSS properties, for example).
- R/G/B values outside 0–255 and transparency outside 0–1 are automatically clamped to those bounds.
- Transparency is stored in HEX8 with just one byte (256 steps), so converting, say, 0.8 to HEX and back to a number may not give exactly 0.8 but a close value like 0.7961.
- The result is just another way of writing the same four numbers, not a different color space — it carries no screen color-profile information.
How it is calculated
Each of R, G and B is rounded to the nearest integer and clamped to the 0–255 range, just like the regular RGB to HEX converter.
Transparency is clamped to the 0–1 range, then multiplied by 255 and rounded to a whole number — this gives the single-byte alpha value.
All four numbers (R, G, B and alpha) are converted to two-digit hexadecimal pairs.
The four pairs are joined in order with a leading "#" — producing an 8-digit HEX code like #3B82F6CC.
Questions and answers
How is this HEX different from a regular 6-digit one?
The usual six color digits get two extra digits appended — the alpha channel, which sets transparency. The final code is two characters longer.
Do all browsers understand 8-digit HEX?
Modern ones do, but not every older graphics editor or tool. For critical compatibility it's sometimes safer to specify color and transparency separately.
Why is the transparency slightly different after converting?
The alpha channel in HEX8 takes up one byte — 256 possible values, so a fractional transparency is rounded to the nearest one instead of being stored exactly.
Is my data sent anywhere?
No, the whole calculation runs in your browser.