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' : ''">
♢
WHITE DIAMOND SUIT
Overview
♢ (WHITE DIAMOND SUIT) is the Unicode character at code point U+2662. 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+2662 |
|
| Decimal | 9826 |
|
| HTML decimal | ♢ |
|
| HTML hex | ♢ |
|
| CSS | \2662 |
|
| JavaScript | \u{2662} |
|
| Python | \u2662 |
|
| Java | \u2662 |
|
| Go | \u2662 |
|
| Ruby | \u{2662} |
|
| Rust | \u{2662} |
|
| C / C++ | \u2662 |
|
| URL-encoded | %E2%99%A2 |
|
| UTF-8 bytes | e2 99 a2 |
|
| UTF-16BE bytes | 26 62 |
|
| UTF-32BE bytes | 00 00 26 62 |
How to Use
HTML:
♢
CSS:
content: "\2662"
JavaScript:
"\u{2662}"
Python:
"\u2662"
Properties
- Block
- Miscellaneous Symbols
- Script
- Common Zyyy
- Category
- Other Symbol (So)
- Bidirectional
- ON
- Combining
- 0
- Mirrored
- No
Frequently Asked Questions
What is the ♢ character (WHITE DIAMOND SUIT)?
♢ (WHITE DIAMOND SUIT) is the Unicode character U+2662.
What is the Unicode codepoint of WHITE DIAMOND SUIT?
The WHITE DIAMOND SUIT character (♢) has codepoint U+2662.
How do I type or copy WHITE DIAMOND SUIT?
Copy ♢ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.