| Symbol Name | Cup On Black Square |
| Unicode Version | 5.2 |
| Unicode | U+26FE |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \26FE |
| Hex Code | 0x26FE |
| HTML Code | ⛾ |
| LaTeX | \text{CUPONBLACKSQUARE} |
| Symbol | ⛾ |
| URL encode (UTF-8 percent) | %E2%9B%BE |
| Spoken / screen reader name | Cup On Black Square |
| UTF-8 | E2 9B BE |
| UTF-16 | 26FE |
| UTF-32 | 000026FE |
1\documentclass{article}2\usepackage{pifont}3\text{CUPONBLACKSQUARE}4\end{document}You can type the cup on black square symbol on most modern devices with the help of following methods:
Alt + 9982 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "cup on black square", or use Unicode Hex Input with 26FE.
Ctrl + Shift + U, type 26fe, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with ornament and fleuron support.
1span.cup-on-black-square::before { content: "\26FE"; }1<span>⛾</span>Cup On Black Square symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u26FE' or String.fromCodePoint(9982) |
| Python | '\N{CUP ON BLACK SQUARE}' or chr(9982) |
| Rust | '\u{26FE}' |
| C / C++ | UTF-8 source or wchar_t with U+26FE |
| Go | string(rune(0x26FE)) |
| Ruby | "\u{26FE}" |