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