♔
Technical information
Symbol | ♔ | |
Name | white chess king | |
Unicode number | U+2654 | |
Category | Chess |
Encoding
HTML Entity | ♔ | |
HTML Entity (hex) | ♔ | |
URL Escape Code | %E2%99%94 | |
UTF-8 (hex) | 0xE2 0x99 0x94 | |
UTF-8 (binary) | 11100010:10011001:10010100 | |
UTF-16 | 0x2654 | |
UTF-32 | 0x00002654 |
Source Code
C, C++, and Java | "\u2654" | |
CSS Code | \2654 | |
JavaScript | "\u2654" | |
Perl | \x{2654} | |
Python 2 | u"\u2654" | |
Python 3 | \u2654 | |
Ruby | \u{2654} |
Preview
This Unicode character looks like this ♔ in sentence and in bold like this ♔ and in italic like this ♔.
input-group
Font size:
♔
12px
♔
16px
♔
20px
♔
28px
♔
36px
♔
48px
♔
72px
CSS Property: font-weight
♔
100
♔
200
♔
300
♔
400
♔
500
♔
600
♔
700
♔
800
♔
900
HTML Forms and Input
input
Disabled input
♔
select
button
button
Code examples in HTML and CSS
<span>♔</span>
span {
content: "\2654";
}
The symbol in different fonts
♔
-apple-system
♔
Apple Color Emoji
♔
Arial
♔
BlinkMacSystemFont
♔
Courier New
♔
Georgia
♔
Droid Sans
♔
Helvetica
♔
Noto Sans
♔
Oxygen
♔
Roboto
♔
"Segoe UI"
♔
sans-serif
♔
Segoe UI Emoji
♔
Segoe UI Symbol
♔
system-ui
♔
Times New Roman
♔
Ubuntu
♔
Verdana