All representations
| Format | Value |
|---|
| Name | ESC – Escape |
| Decimal | 27 |
| Hexadecimal | 0x1B |
| Octal | 033 |
| Binary | 00011011 |
| HTML numeric entity |  /  |
| Unicode code point | U+001B |
| URL encoded | %1B |
| Escape sequence | \e (GNU) |
| UTF-8 bytes | 1B (one byte, same as ASCII) |
Notes
- Starts ANSI terminal escape sequences, e.g.
ESC[31m for red text. - Caret notation:
^[.
Nearby codes
| Dec | Hex | Char | Name |
|---|
| 25 | 19 | EM | EM – End of medium |
| 26 | 1A | SUB | SUB – Substitute |
| 28 | 1C | FS | FS – File separator |
| 29 | 1D | GS | GS – Group separator |
Get this code in code
JavaScript String.fromCharCode(27)
Python chr(27)
C (char)27