| Symbol Name | Colon |
| Unicode Version | 1.1 |
| Unicode | U+003A |
| Unicode block | |
| General category | Other Punctuation (Po) |
| CSS Code | \003A |
| Hex Code | 0x003A |
| HTML Code | : |
| LaTeX | : |
| Symbol | : |
| URL encode (UTF-8 percent) | %3A |
| Spoken / screen reader name | Colon |
| UTF-8 | 3A |
| UTF-16 | 003A |
| UTF-32 | 0000003A |
1\documentclass{article}2\usepackage{pifont}3:4\end{document}You can type the colon symbol on most modern devices with the help of following methods:
Alt + 58 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "colon", or use Unicode Hex Input with 003A.
Ctrl + Shift + U, type 003a, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with punctuation support.
1span.colon::before { content: "\003A"; }1<span>:</span>Colon symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u003A' or String.fromCodePoint(58) |
| Python | '\N{COLON}' or chr(58) |
| Rust | '\u{003A}' |
| C / C++ | UTF-8 source or wchar_t with U+003A |
| Go | string(rune(0x003A)) |
| Ruby | "\u{003A}" |