U+2666
Black diamond suit♦
Black diamond suit is a monochrome text character from the Unicode Miscellaneous Symbols block, listed here under Games & Dice. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "cards", "suit", "poker", "game".
Quick facts
- Unicode
- U+2666
- Decimal
- 9830
- Hex
- 0x2666
- Octal
- 0o23146
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2666 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | BLACK DIAMOND SUIT | |
| DecimalBase 10 | 9830 | |
| HexadecimalBase 16 | 0x2666 | |
| OctalBase 8 | 0o23146 | |
| BinaryBase 2 | 0010011001100110 | |
| General categorySymbol, other | So | |
| Unicode blockU+2600–U+26FF | Miscellaneous Symbols | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ♦ | |
| HTML entity (hex) | ♦ | |
| HTML entity (named) | ♦ | |
| CSS content escapeUse inside content: "…" | \2666 | |
| URL encodedPercent-encoded UTF-8 | %E2%99%A6 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2666 | |
| JSONUTF-16 surrogate pairs | \u2666 | |
| Python | \u2666 | |
| Java / C# / Kotlin | \u2666 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 99 A6 | |
| UTF-16 (BE) | 2666 | |
| UTF-32 (BE) | 00002666 |
How to type Black diamond suit
Windows
Hold Alt and type +2666 with the hex numeric keypad option enabled, or type 2666 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2666. Or open Character Viewer (Control+Command+Space) and search "Black diamond suit".
Linux
Press Ctrl+Shift+U, type 2666, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: ♦ in HTML, \2666 in CSS, and \u2666 in JavaScript.
Official Unicode reference
- Character name
- BLACK DIAMOND SUIT
- Block
- Miscellaneous Symbols (U+2600–U+26FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Miscellaneous Symbols block: U2600.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Black diamond suit symbol?
Click the Copy button at the top of this page, or select ♦ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Black diamond suit?
Black diamond suit is U+2666 (decimal 9830, hexadecimal 0x2666, octal 0o23146). It lives in the Miscellaneous Symbols block (U+2600–U+26FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Black diamond suit?
The Unicode Standard (version 18.0.0) names this character "BLACK DIAMOND SUIT". Its General_Category is So (Symbol, other).
What is the HTML code for Black diamond suit?
Use ♦ or ♦, or the named entity ♦. In CSS, use content: "\2666".
How do I type Black diamond suit in code?
JavaScript: "\u2666". Python: "\u2666". JSON and Java: "\u2666". The UTF-8 byte sequence is E2 99 A6.
Is Black diamond suit an emoji?
No. Black diamond suit is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.