keecode logokeecode
ESC

Escape

Decimal: 27
Hex: 1B
Control

ASCII Values

Decimal

27

Hexadecimal

0x1B

Character

ESC

Usage Examples

JavaScript (from decimal)

String.fromCharCode(27); // "ESC"

JavaScript (to decimal)

"ESC".charCodeAt(0); // 27

Python

chr(27)  # "ESC"
ord("ESC")  # 27

C/C++

char c = 27;  // 'ESC'
int code = 'ESC';  // 27