| Symbol Name | Sun |
| Unicode Version | 0.6 |
| Unicode | U+2600 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \2600 |
| Hex Code | 0x2600 |
| HTML Code | ☀️ |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | ☀️ |
| URL encode (UTF-8 percent) | %E2%98%80%EF%B8%8F |
| Discord / Slack shortcode | :sunny: |
| GitHub shortcode | :sunny: |
| Spoken / screen reader name | Sun |
| UTF-8 | E2 98 80 EF B8 8F |
| UTF-16 | 2600 FE0F |
| UTF-32 | 00002600 0000FE0F |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the sun 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".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Travel & Places, or search "sun".
Emoji keyboard → Travel; search "sun".
1span.sun-emoji::before { content: "\2600"; } /* prefer inline grapheme for ZWJ */1<span>☀️</span>Sun symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | String.fromCodePoint(0x2600, 0xFE0F) |
| Python | '\N{SUN}' |
| Rust | '\u{2600}' |
| Swift | "\u{2600}" |
| Go | string(rune(0x2600)) |
| Ruby | "\u{2600}" |