Capricorn is the Unicode character ♑ at codepoint U+2651 in the Miscellaneous Symbols block of the Basic Multilingual Plane (BMP). Click the character above to copy it to your clipboard — or use one of the
encodings below to embed it in HTML, CSS, JavaScript, Python or plain text.
Technical Reference
| Unicode Codepoint | |
| Decimal | |
| UTF-8 (hex) | |
| UTF-16 (hex) | |
| HEX Entity | |
| HTML Entity | |
| CSS (\xxxx) | |
| JavaScript | |
| Python |
How to Use Capricorn
To use the Capricorn symbol (♑) in HTML, insert the
entity ♑ directly into your markup. The decimal entity ♑ works in any HTML-serialised document.
In CSS pseudo-elements use content: '\2651';.
In JavaScript and TypeScript the escape '\u2651' evaluates to ♑. In Python source, write '\u2651'.
The character encodes to E2 99 91 as UTF-8 bytes and 2651 as UTF-16 code units. Its decimal codepoint is 9809.
This is a fully-qualified emoji and should render with colour on iOS, Android, Windows and macOS. Appearance may vary between platforms, but the underlying codepoint is identical everywhere.