Search for a tool
Hexahue

Tool to decrypt / encode with Hexahue, a code using combinations of 6 squares (3x2) among 9 colors, made by Josh Cramer.

Results

Hexahue -

Tag(s) : Symbol Substitution

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Hexahue' tool for free! Thank you!

Hexahue

Hexahue Decoder

Hexahue Encoder

 

See also: HTML Colors

Answers to Questions (FAQ)

What is Hexahue? (Definition)

Hexahue is an alphabet made of colored blocks created from squares arranged in a 2x3 rectangle. The idea was to create a writing system based on bright colors and limited to 9 HTML colors.

How to encrypt using Hexahue cipher?

Hexahue uses 9-color square patterns within a 2x3 rectangular grid.

Hexahue supports 38 characters: the 26 characters of the Latin alphabet (from A to Z), the 10 digits (from 0 to 9) as well as the comma ,, the period ., presented in the following table:

Achar(65)Bchar(66)Cchar(67)Dchar(68)Echar(69)Fchar(70)Gchar(71)Hchar(72)
Ichar(73)Jchar(74)Kchar(75)Lchar(76)Mchar(77)Nchar(78)Ochar(79)Pchar(80)
Qchar(81)Rchar(82)Schar(83)Tchar(84)Uchar(85)Vchar(86)Wchar(87)Xchar(88)
Ychar(89)Zchar(90)0char(48)1char(49)2char(50)3char(51)4char(52)5char(53)
6char(54)7char(55)8char(56)9char(57).char(46),char(44)
dCode.fr

Hexahue additionally uses 2 blocks to represent spaces, either or (one all black and one all white).

Example: HEXAHUE is coded char(72)char(69)char(88)char(65)char(72)char(85)char(69)

The correspondence is 1 to 1: a letter/number always corresponds to a symbol (for letters, upper and lower case are not differentiated).

In his original description, the author indicated that the other punctuations (.,()[]{}!?%$-+/*) could be achieved by combining other black and white square patterns.

How to translate Hexahue cipher?

Hexahue decryption consists of the transcription of colored rectangles into plain letters or numbers according to the correspondence table above.

Example: char(68)char(67)char(79)char(68)char(69) is translated DCODE

How to recognize a Hexahue ciphertext?

Any message encrypted by Hexahue is in a rather colorful image format with a maximum of 9 distinct colors: red, green, blue, yellow, cyan, magenta, white, gray and black.

Each color is theoretically present at 100% brightness (except for gray).

The symbols are made up of combinations of 6 colored squares grouped into a rectangle 3 high by 2 wide.

The letters are coded with the 6 primary and secondary colors: red, green, blue, yellow, cyan, magenta and never have the same color twice.

The digits/figures are coded with 3 levels of gray: white, gray and black, with mandatory 2 squares of each shade.

The punctuation (the point . And the comma ,) is coded with only black and white (3 black squares and 3 white squares staggered)

The spaces are either all black or all white.

The prefix HEX refers to the fact that there are 6 colors, but can also refer to the hexadecimal code for denoting HTML colors.

The author calls hexasquare each of the 6 small squares making up a hexahue symbol.

Who invented Hexahue?

Hexahue was invented by Josh Cramer. Source here

Source code

dCode retains ownership of the "Hexahue" source code. Any algorithm for the "Hexahue" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Hexahue" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Hexahue" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Hexahue" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/hexahue-cipher
In a scientific article or book, the recommended bibliographic citation is: Hexahue on dCode.fr [online website], retrieved on 2025-04-15, https://www.dcode.fr/hexahue-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Hexahue' tool for free! Thank you!


https://www.dcode.fr/hexahue-cipher
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback