| Symbol Name | Hexagram For The Well |
| Unicode Version | 4.0 |
| Unicode | U+4DEF |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \4DEF |
| Hex Code | 0x4DEF |
| HTML Code | ䷯ |
| LaTeX | \text{HEXAGRAMFORTHEWELL} |
| Symbol | ䷯ |
| URL encode (UTF-8 percent) | %E4%B7%AF |
| Spoken / screen reader name | Hexagram For The Well |
| UTF-8 | E4 B7 AF |
| UTF-16 | 4DEF |
| UTF-32 | 00004DEF |
1\documentclass{article}2\usepackage{pifont}3\text{HEXAGRAMFORTHEWELL}4\end{document}You can type the hexagram for the well symbol on most modern devices with the help of following methods:
Alt + 19951 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "hexagram for the well", or use Unicode Hex Input with 4DEF.
Ctrl + Shift + U, type 4def, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with religion symbol support.
1span.hexagram-for-the-well::before { content: "\4DEF"; }1<span>䷯</span>Hexagram For The Well symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u4DEF' or String.fromCodePoint(19951) |
| Python | '\N{HEXAGRAM FOR THE WELL}' or chr(19951) |
| Rust | '\u{4DEF}' |
| C / C++ | UTF-8 source or wchar_t with U+4DEF |
| Go | string(rune(0x4DEF)) |
| Ruby | "\u{4DEF}" |