BLACK SPADE SUIT vs WHITE SPADE SUIT

BLACK SPADE SUIT
U+2660
View details →
WHITE SPADE SUIT
U+2664
View details →
VS

Property Comparison

Property ♠ U+2660 ♤ U+2664
Name BLACK SPADE SUIT WHITE SPADE SUIT
Block Miscellaneous Symbols Miscellaneous Symbols
Script Zyyy Zyyy
Category Other Symbol (So) Other Symbol (So)
Bidirectional ON ON

Encoding Comparison

Format U+2660 U+2664
unicode U+2660 U+2664
decimal 9824 9828
htmldecimal ♠ ♤
htmlhex ♠ ♤
css \2660 \2664
javascript \u{2660} \u{2664}
python \u2660 \u2664
java \u2660 \u2664
go \u2660 \u2664
ruby \u{2660} \u{2664}
rust \u{2660} \u{2664}
ccpp \u2660 \u2664
urlencoded %E2%99%A0 %E2%99%A4
utf8bytes e2 99 a0 e2 99 a4
utf16bebytes 26 60 26 64
utf32bebytes 00 00 26 60 00 00 26 64
htmlentity ♠

How to Distinguish

Both BLACK SPADE SUIT and WHITE SPADE SUIT belong to the Miscellaneous Symbols block and Zyyy script. Compare their codepoints and visual rendering to distinguish them.

Tip: Paste the character into a hex editor or use charCodeAt() in JavaScript to check the actual codepoint.

♠ BLACK SPADE SUIT details ♤ WHITE SPADE SUIT details All Comparisons