Face With Cowboy Hat Symbol
Codes for this symbol
| Method | Value |
|---|---|
| Alt + X hex | |
| HTML decimal | |
| HTML hex | |
| CSS escape | |
| Python escape | |
| JavaScript escape | |
| UTF-8 bytes | |
| Unicode codepoint | |
| Unicode block | |
| Unicode category |
Not available for this symbol: legacy Windows Alt code, Alt + decimal (BMP limit), macOS Option shortcut, named HTML entity.
How to type face with cowboy hat on Windows
- Face With Cowboy Hat cannot be typed with a legacy Alt code or Alt + decimal because its codepoint is above U+FFFF.
- Use the Character Viewer, an HTML entity, or copy the character directly.
If your keyboard has no numeric keypad, see how to type symbols without a numpad.
How to type face with cowboy hat on macOS
There is no direct Option shortcut for Face With Cowboy Hat. Open the Character Viewer with ⌃⌘Space, search for "Face With Cowboy Hat" and click the character to insert it.
How to use face with cowboy hat in code
- HTML: or
- CSS:
content:"\01F920";() - Python:
\U0001F920orchr(0x1F920) - JavaScript:
\u{1F920}orString.fromCodePoint(0x1F920) - JSON:
"\uD83E\uDD20"(surrogate pair)
Frequently asked questions
Is there an Alt code for 🤠?
No legacy Alt code exists for Face With Cowboy Hat because it is not in code page 437 or Windows-1252. Use the Unicode codepoint U+1F920 in HTML, CSS or the Character Viewer instead.
How do I type 🤠 without a numpad?
Use the Windows Character Viewer (Win+.), the macOS Character Viewer (⌃⌘Space), an HTML entity such as 🤠, or copy the character directly from this page.
What is the Unicode for Face With Cowboy Hat?
The Unicode codepoint for Face With Cowboy Hat is U+1F920. You can use this value in HTML as 🤠, in CSS as \01F920, and in Word with Alt+X.
How do I type 🤠 on a Mac?
Open the Character Viewer with ⌃⌘Space and search for the character name or U+1F920, then click it.