Horizontal Traffic Light

๐Ÿšฅ

Shortcodes

Copy useful codes for horizontal traffic light symbol ๐Ÿšฅ to use in websites, apps, blogs, and docs.

Unicode
U+1F6A5
HTML Code
🚥
HEX Code
🚥
CSS Code
\1F6A5
JS/JSON
\u1F6A5
Unix/C/PHP/JAVA
0x1F6A5
URL-encode
%F0%9F%9A%A5

Customize Horizontal Traffic Light

Customize ๐Ÿšฅ, download it as SVG or PNG, or copy the generated HTML snippet.

๐Ÿšฅ
  

How to use Horizontal Traffic Light Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>๐Ÿšฅ</span>
HTML Code:
<span>&#128677;</span>
HEX Code:
<span>&#x1F6A5;</span>

Add with CSS

.horizontal-traffic-light::before {
  content: '\\1F6A5';
}

Set it in JavaScript

document.querySelector('.horizontal-traffic-light').textContent = '๐Ÿšฅ';
copied