Black Hexagon
⬢
Shortcodes
Copy and paste codes for Black Hexagon symbol ⬢ to use in your websites, apps, blogs, and more.
Unicode
U+2B22
HTML Code
⬢
HEX Code
⬢
CSS Code
\2B22
JS/JSON
\u2B22
Unix/C/PHP/JAVA
0x2B22
URL-encode
%E2%AC%A2
copied
Customize Black Hexagon Symbol
Customize ⬢ symbol as you like and download Black Hexagon as SVG or PNG or copy its HTML code to use in your projects.
Preview helps customize symbol. Downloaded image and HTML code may have size/spacing
differences.
⬢
How to add Black Hexagon symbol in HTML, CSS, and JS?
Insert ⬢ Black Hexagon using HTML
1. Copy-paste Black Hexagon directly:
<span>⬢</span>
2. HTML Decimal Code:
<span>⬢</span>
3. Hexadecimal Code:
<span>⬢</span>
Preview:
⬢
Add Black Hexagon symbol with CSS
.black-hexagon::before {
content: '\\2B22';
}
Preview: Black Hexagon
Black Hexagon JavaScript Code
1. Direct Symbol:
document.querySelector('.black-hexagon').textContent = '⬢';
2. Unicode Escape for ⬢:
document.querySelector('.black-hexagon').textContent = '\u2B22';
Preview: ⬢