Search
Search for a symbol or emoji...
♦
♦
Diamond Suit Symbol ♦
Diamond Suit Symbol Information
| Symbol Name | Diamond Suit |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2666 |
| CSS Code | \2666 |
| HTML Entity | ♦ |
| Hex Code | ♦ |
| HTML Code | ♦ |
| Latex | \ding{169} |
| Alt Code | 4 |
| Symbol | ♦ |
Diamond Suit Symbol Encoding
| UTF-8 | 0xE2 0x99 0xA6 |
| UTF-16 | 0x2666 |
| UTF-32 | 0x00002666 |
Diamond Suit Symbol in Latex
Diamond Suit
1\documentclass{article}
2\usepackage{pifont}
3\begin{document}
4\ding{169}
5\end{document}How to add diamond suit symbol via keyboard on different Operating systems
You can type the diamond suit symbol on most modern devices with the help of following methods:
How to type diamond suit symbol on Microsoft Word
You can type the diamond suit in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2666
- Without moving the cursor press keys Alt + x together
- The original 2666 is now transformed into ♦
How to type diamond suit symbol on Microsoft Windows
You can type the diamond suit on Microsoft windows using following steps:
- Hold Alt and press 4 to type diamond suit on your windows machine.
How to type diamond suit symbol on Mac OS
You can type the diamond suit on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Diamond Suit" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type diamond suit symbol on Linux
You can type the diamond suit on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2666 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type diamond suit symbol on IOS and Android
The easiest way to type the diamond suit symbol on ios and android is to copy and paste it wherever you need it.
How to use diamond suit in CSS
//CSS Example
1span {
2 content: \2666;
3 }How to use diamond suit in HTML
//HTML Example
1<span>♦</span>Diamond Suit symbol representation in programming languages
Diamond Suitsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2666} |
| Ruby | \u{2666} |
| Python | \u2666 |
| PHP | \u{2666} |
| Perl | \x{2666} |
| Java | \u2666 |
| Modern JavaScript - Since ES6 | \u{2666} |
| JavaScript | \u2666 |
| Go | \u2666 |
| C# | \u2666 |
| C and C++ | \u2666 |
| Bash and Zsh - inside echo -e | \u2666 |
| RFC 5137 | \u'2666' |
