| Symbol Name | Black Rectangle |
| Unicode Version | 1.1 |
| Unicode | U+25AC |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \25AC |
| Hex Code | 0x25AC |
| HTML Code | ▬ |
| LaTeX | \text{BLACKRECTANGLE} |
| Symbol | ▬ |
| URL encode (UTF-8 percent) | %E2%96%AC |
| Spoken / screen reader name | Black Rectangle |
| UTF-8 | E2 96 AC |
| UTF-16 | 25AC |
| UTF-32 | 000025AC |
1\documentclass{article}2\usepackage{pifont}3\text{BLACKRECTANGLE}4\end{document}You can type the black rectangle symbol on most modern devices with the help of following methods:
Alt + 9644 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "black rectangle", or use Unicode Hex Input with 25AC.
Ctrl + Shift + U, type 25ac, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.black-rectangle::before { content: "\25AC"; }1<span>▬</span>Black Rectangle symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u25AC' or String.fromCodePoint(9644) |
| Python | '\N{BLACK RECTANGLE}' or chr(9644) |
| Rust | '\u{25AC}' |
| C / C++ | UTF-8 source or wchar_t with U+25AC |
| Go | string(rune(0x25AC)) |
| Ruby | "\u{25AC}" |