π₯ is the Unicode emoji LARGE RED SQUARE (βred squareβ), code point U+1F7E5 (decimal 128997) in the Geometric Shapes Extended block, added in Unicode 12.0. In HTML write 🟥, and in UTF-8 it is the 4 bytes F0 9F 9F A5.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F7E5 |
| Decimal | 128997 |
| UTF-8 bytes | F0 9F 9F A5 |
| UTF-16 (big-endian) | D83D DFE5 |
| UTF-32 | 0001F7E5 |
| HTML decimal | 🟥 |
| HTML hex | 🟥 |
| CSS | \1F7E5 |
| JavaScript | \u{1F7E5} or \uD83D\uDFE5 |
| JSON | \uD83D\uDFE5 |
| Python | \U0001F7E5 |
| Python by name | \N{LARGE RED SQUARE} |
| Java, C# | \uD83D\uDFE5 |
| Rust, Swift | \u{1F7E5} |
| Go, C, C++ | \U0001F7E5 |
| URL (percent-encoded) | %F0%9F%9F%A5 |
JavaScript and JSON strings store text as UTF-16, so this character takes two code units (a surrogate pair) and "π₯".length is 2. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | LARGE RED SQUARE |
| Emoji name | red square |
| Code point | U+1F7E5 (decimal 128997) |
| Block | Geometric Shapes Extended (U+1F780βU+1F7FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 12.0 |
Nearby in Geometric Shapes Extended
- π U+1F7D9 Nine Pointed White Star
- π U+1F7DA Black Circle With White Vertical Bar
- π U+1F7DB Bullet In Double Circle
- π U+1F7E0 Orange circle
- π‘ U+1F7E1 Yellow circle
- π’ U+1F7E2 Green circle
- π£ U+1F7E3 Purple circle
- π€ U+1F7E4 Brown circle
- π¦ U+1F7E6 Blue square
- π§ U+1F7E7 Orange square
- π¨ U+1F7E8 Yellow square
- π© U+1F7E9 Green square
- πͺ U+1F7EA Purple square
- π« U+1F7EB Brown square
- π° U+1F7F0 Heavy equals sign
- π± U+1F7F1 Circle With Double Vertical And Horizontal Line
All 120 characters: Geometric Shapes Extended.
Official reference
Questions people ask
- What is the HTML code for π₯?
- Use 🟥 (decimal) or 🟥 (hex).
- What is the UTF-8 encoding of U+1F7E5?
- F0 9F 9F A5 (hex), 4 bytes. In a URL it is %F0%9F%9F%A5.
- How do I write U+1F7E5 in JavaScript or Python?
- JavaScript: \u{1F7E5} or \uD83D\uDFE5. Python: \U0001F7E5.
Source
Unicode Character Database 18.0.0 (Unicode License v3) and the Unicode emoji test data; 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