Diamond With Right Half Black

Shortcodes

Copy and paste codes for Diamond With Right Half Black symbol ⬗ to use in your websites, apps, blogs, and more.

Unicode
U+2B17
HTML Code
⬗
HEX Code
⬗
CSS Code
\2B17
JS/JSON
\u2B17
Unix/C/PHP/JAVA
0x2B17
URL-encode
%E2%AC%97
copied

Customize Diamond With Right Half Black Symbol

Customize ⬗ symbol as you like and download Diamond With Right Half Black 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 Diamond With Right Half Black symbol in HTML, CSS, and JS?

Insert ⬗ Diamond With Right Half Black using HTML

1. Copy-paste Diamond With Right Half Black directly:
<span>⬗</span>
2. HTML Decimal Code:
<span>&#11031;</span>
3. Hexadecimal Code:
<span>&#x2B17;</span>
Preview:

Add Diamond With Right Half Black symbol with CSS

.diamond-with-right-half-black::before {
    content: '\\2B17';
}
Preview: Diamond With Right Half Black

Diamond With Right Half Black JavaScript Code

1. Direct Symbol:
document.querySelector('.diamond-with-right-half-black').textContent = '⬗';
2. Unicode Escape for ⬗:
document.querySelector('.diamond-with-right-half-black').textContent = '\u2B17';
Preview: