| Symbol Name | White Diamond Suit |
| Unicode Version | 1.1 |
| Unicode | U+2662 |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \2662 |
| Hex Code | 0x2662 |
| HTML Code | ♢ |
| LaTeX | \diamondsuit |
| Symbol | ♢ |
| URL encode (UTF-8 percent) | %E2%99%A2 |
| Spoken / screen reader name | White Diamond Suit |
| UTF-8 | E2 99 A2 |
| UTF-16 | 2662 |
| UTF-32 | 00002662 |
1\documentclass{article}2\usepackage{pifont}3\diamondsuit4\end{document}You can type the white diamond suit symbol on most modern devices with the help of following methods:
Alt + 9826 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "white diamond suit", or use Unicode Hex Input with 2662.
Ctrl + Shift + U, type 2662, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with card suit symbol support.
1span.white-diamond-suit::before { content: "\2662"; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }1<span>♢</span>White Diamond Suit symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u2662' or String.fromCodePoint(9826) |
| Python | '\N{WHITE DIAMOND SUIT}' or chr(9826) |
| Rust | '\u{2662}' |
| C / C++ | UTF-8 source or wchar_t with U+2662 |
| Go | string(rune(0x2662)) |
| Ruby | "\u{2662}" |