copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('♦'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
♦
BLACK DIAMOND SUIT
Overview
♦ (BLACK DIAMOND SUIT) is the Unicode character at code point U+2666. It belongs to the Miscellaneous Symbols block, in the Other Symbol (So) general category.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+2666 |
|
| Decimal | 9830 |
|
| HTML decimal | ♦ |
|
| HTML hex | ♦ |
|
| CSS | \2666 |
|
| JavaScript | \u{2666} |
|
| Python | \u2666 |
|
| Java | \u2666 |
|
| Go | \u2666 |
|
| Ruby | \u{2666} |
|
| Rust | \u{2666} |
|
| C / C++ | \u2666 |
|
| URL-encoded | %E2%99%A6 |
|
| UTF-8 bytes | e2 99 a6 |
|
| UTF-16BE bytes | 26 66 |
|
| UTF-32BE bytes | 00 00 26 66 |
|
| HTML entity | ♦ |
How to Use
HTML:
♦
or
♦
CSS:
content: "\2666"
JavaScript:
"\u{2666}"
Python:
"\u2666"
Properties
- Block
- Miscellaneous Symbols
- Script
- Common Zyyy
- Category
- Other Symbol (So)
- Bidirectional
- ON
- Combining
- 0
- Mirrored
- No
Frequently Asked Questions
What is the ♦ character (BLACK DIAMOND SUIT)?
♦ (BLACK DIAMOND SUIT) is the Unicode character U+2666.
What is the Unicode codepoint of BLACK DIAMOND SUIT?
The BLACK DIAMOND SUIT character (♦) has codepoint U+2666.
How do I type or copy BLACK DIAMOND SUIT?
Copy ♦ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.