| Symbol Name | Top Hat |
| Unicode Version | 0.6 |
| Unicode | U+1F3A9 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F3A9 |
| Hex Code | 0x1F3A9 |
| HTML Code | 🎩 |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 🎩 |
| URL encode (UTF-8 percent) | %F0%9F%8E%A9 |
| Spoken / screen reader name | Top Hat |
| UTF-8 | F0 9F 8E A9 |
| UTF-16 | D83C DFA9 |
| UTF-32 | 0001F3A9 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the top hat symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Objects & Tech in emoji keyboard.
Edit → Emoji & Symbols, search "top hat".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Objects, or search "top hat".
Emoji keyboard → Objects; search "top hat".
1span.top-hat::before { content: "\1F3A9"; } /* prefer inline grapheme for ZWJ */1<span>🎩</span>Top Hat symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83C\uDFA9' or String.fromCodePoint(0x1F3A9) |
| Python | '\N{TOP HAT}' |
| Rust | '\u{1F3A9}' |
| Swift | "\u{1F3A9}" |
| Go | string(rune(0x1F3A9)) |
| Ruby | "\u{1F3A9}" |