Hex Text
Free online hex text. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Hex Text input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Hex Text?
Hex Text is a dual-mode color-and-text utility that translates CSS hex color codes into human-readable descriptions—or encodes arbitrary text strings into sequences of #rrggbb color swatches. Designers use it to read unfamiliar hex codes in plain English, while creatives use it to visualize text strings as deterministic color palettes.
How It Works
In HEX → text description mode, a regex extracts #RGB or #RRGGBB tokens, converts each with hexToRgb and rgbToHsl, matches nearestNamedColor, and classifies lightness, saturation, and hue sector alongside color swatches. In Text → HEX color sequence mode, input characters are encoded into UTF-8 bytes and packed in groups of 3 bytes (r, g, b, zero-padded at the end) into #rrggbb swatches locally.
Common Use Cases
- Reading unfamiliar stylesheet hex codes — translate #ff5733 into plain English ("medium vivid orange"), nearest CSS name, RGB, and HSL
- Auditing multi-color design tokens — paste multiple hex codes at once to render swatches and descriptions line by line
- Turning phrases into data-art palettes — encode UTF-8 text bytes into a reproducible sequence of #rrggbb color blocks
- Checking accessibility and tone cues — quickly inspect lightness (very dark to very light) and saturation (grayscale to vivid)
Technical Details
Modes: hexToText (regex #?[a-f0-9]{6}|#?[a-f0-9]{3}, hexToRgb, rgbToHsl, nearestNamedColor) and textToHex (manual UTF-8 codepoint encoding grouped into 3-byte #rrggbb chunks, 0-padded). Renders 24×24px swatches and text output locally.
FAQ
Is this Hex Text free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.