| Symbol Name | Cowboy Hat Face |
| Unicode Version | 3.0 |
| Unicode | U+1F920 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F920 |
| Hex Code | 0x1F920 |
| HTML Code | 🤠 |
| LaTeX | LuaLaTeX/XeLaTeX: literal glyph or \usepackage{emoji} (engine-dependent) |
| Symbol | 🤠 |
| URL encode (UTF-8 percent) | %F0%9F%A4%A0 |
| Discord / Slack shortcode | :cowboy_hat_face: |
| GitHub shortcode | :cowboy_hat_face: |
| Spoken / screen reader name | Cowboy Hat Face |
| UTF-8 | F0 9F A4 A0 |
| UTF-16 | D83E DD20 |
| UTF-32 | 0001F920 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal glyph or \usepackage{emoji} (engine-dependent)4\end{document}You can type the cowboy hat face symbol on most modern devices with the help of following methods:
Windows: Win + . (emoji panel); macOS: Ctrl + Cmd + Space; mobile: emoji keyboard Smileys.
Edit → Emoji & Symbols, search "cowboy hat face".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Smileys & Emotion, or search "cowboy hat face".
Emoji keyboard → Smileys; search "cowboy hat face".
1span.cowboy-hat-face::before { content: "\1F920"; }1<span>🤠</span>Cowboy Hat Face symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83E\uDD20' or String.fromCodePoint(0x1F920) |
| Python | '\N{COWBOY HAT FACE}' |
| Rust | '\u{1F920}' |
| Swift | "\u{1F920}" |
| Go | string(rune(0x1F920)) |
| Ruby | "\u{1F920}" |