☰ is the Unicode character TRIGRAM FOR HEAVEN, code point U+2630 (decimal 9776) in the Miscellaneous Symbols block, added in Unicode 1.1. In HTML write ☰, and in UTF-8 it is the 3 bytes E2 98 B0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2630 |
| Decimal | 9776 |
| UTF-8 bytes | E2 98 B0 |
| UTF-16 (big-endian) | 2630 |
| UTF-32 | 00002630 |
| HTML decimal | ☰ |
| HTML hex | ☰ |
| CSS | \2630 |
| JavaScript | \u2630 |
| JSON | \u2630 |
| Python | \u2630 |
| Python by name | \N{TRIGRAM FOR HEAVEN} |
| Java, C# | \u2630 |
| Rust, Swift | \u{2630} |
| Go, C, C++ | \u2630 |
| URL (percent-encoded) | %E2%98%B0 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | TRIGRAM FOR HEAVEN |
| Code point | U+2630 (decimal 9776) |
| Block | Miscellaneous Symbols (U+2600–U+26FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Miscellaneous Symbols
- ☨ U+2628 Cross Of Lorraine
- ☩ U+2629 Cross Of Jerusalem
- ☪ U+262A Star and crescent
- ☫ U+262B Farsi Symbol
- ☬ U+262C Adi Shakti
- ☭ U+262D Hammer And Sickle
- ☮ U+262E Peace symbol
- ☯ U+262F Yin yang
- ☱ U+2631 Trigram For Lake
- ☲ U+2632 Trigram For Fire
- ☳ U+2633 Trigram For Thunder
- ☴ U+2634 Trigram For Wind
- ☵ U+2635 Trigram For Water
- ☶ U+2636 Trigram For Mountain
- ☷ U+2637 Trigram For Earth
- ☸ U+2638 Wheel of dharma
All 256 characters: Miscellaneous Symbols.
Official reference
Questions people ask
- What is the HTML code for ☰?
- Use ☰ (decimal) or ☰ (hex).
- What is the UTF-8 encoding of U+2630?
- E2 98 B0 (hex), 3 bytes. In a URL it is %E2%98%B0.
- How do I write U+2630 in JavaScript or Python?
- JavaScript: \u2630. Python: \u2630.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in