White Hexagon
⬡
Shortcodes
Copy useful codes for white hexagon symbol ⬡ to use in websites, apps, blogs, and docs.
Unicode
U+2B21 HTML Code
⬡ HEX Code
⬡ CSS Code
\2B21 JS/JSON
\u2B21 Unix/C/PHP/JAVA
0x2B21 URL-encode
%E2%AC%A1 Customize White Hexagon
Customize ⬡, download it as SVG or PNG, or copy the generated HTML snippet.
⬡
How to use White Hexagon Symbol in HTML, CSS, and JS
Insert in HTML
1. Direct symbol:
<span>⬡</span> HTML Code:
<span>⬡</span> HEX Code:
<span>⬡</span> Add with CSS
.white-hexagon::before {
content: '\\2B21';
} Set it in JavaScript
document.querySelector('.white-hexagon').textContent = '⬡';