| Symbol Name | Capricorn |
| Unicode Version | 0.6 |
| Unicode | U+2651 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \2651 |
| Hex Code | 0x2651 |
| HTML Code | ♑ |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | ♑ |
| URL encode (UTF-8 percent) | %E2%99%91 |
| Spoken / screen reader name | Capricorn |
| UTF-8 | E2 99 91 |
| UTF-16 | 2651 |
| UTF-32 | 00002651 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the capricorn symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Symbols & Signs in emoji keyboard.
Edit → Emoji & Symbols, search "capricorn".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Symbols, or search "capricorn".
Emoji keyboard → Symbols; search "capricorn".
1span.capricorn-emoji::before { content: "\2651"; } /* prefer inline grapheme for ZWJ */1<span>♑</span>Capricorn symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u2651' or String.fromCodePoint(9809) |
| Python | '\N{CAPRICORN}' |
| Rust | '\u{2651}' |
| Swift | "\u{2651}" |
| Go | string(rune(0x2651)) |
| Ruby | "\u{2651}" |