HEX: #001204
RGB: (0,18,4)
#001204 contains only green and blue colors. Web safe color of #001204 is #000000 (or #000).
#001204 color RGB value is (0,18,4).
RGB: (0,18,4) (0%,7%,2%)
R 0 of 255 = 0%
G 18 of 255 = 7%
B 4 of 255 = 2%
R + G + B ~ 3%. #001204 is dark color.
R + G + B =
0 + 18 + 4 = 22 (100%)
R 0 of 22 ~ 0%
G 18 of 22 ~ 81.82%
B 4 of 22 ~ 18.18%
#001204 color CMYK value is (100,0,78,93).
CMYK: (100,0,78,93) C100M0Y78K93 (100%,0%,78%,93%) (1.00/0.00/0.78/0.93)
00 | 12 | 04 | |
---|---|---|---|
RGB | 0 | 18 | 4 |
HSL | 133° | 100.00% | 3.53% |
HSB/HSV | 133° | 100.00% | 7.06% |
CMYK | 100.00% | 0.00% | 77.78% |
92.94% |
HEX | 00 | 12 | 04 |
Decimal | 0 | 18 | 4 |
Binary | 0 | 10010 | 100 |
Octal | 0 | 22 | 4 |
Examples of css and html codes for elements with #001204 color. Also use rgb(0,18,4) instead hex code.
.myTextColor { color: #001204; }
<p style="color:#001204">This sample text font color is #001204.</p>
This text font color is #001204.
.myBgColor { background-color: #001204; }
<div style="background-color:#001204">Inner text</div>
This div background color is #001204.
.myBorderColor { border: 1px solid #001204; }
<div style="border:3px solid #001204">Div</div>
This div border color is #001204.
.myOpacity80 { color: #001204; opacity: 0.8; }
<p style="color:#001204;opacity:0.8;">80%</p>
Text with #001204 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #001204;}
<p style="text-shadow: 3px 3px 1px #001204">Text here.</p>
This text has shadow with #001204 color.
.textShadow {text-shadow: 3px 3px 1px #001204, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #001204, 5px 5px 20px red">Text here.</p>
This text has shadow with #001204 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#001204, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#001204, Direction=45, Strength=4)">Text</p>
This text has shadow with #001204 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #001204; -webkit-box-shadow: 1px 1px 3px 2px #001204; box-shadow: 1px 1px 3px 2px #001204; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #001204; -webkit-box-shadow: 1px 1px 3px 2px #001204; box-shadow:1px 1px 3px 2px #001204;">
Div content here</div>
This text has color #001204 on black background.
This text has color #001204 on white background.
This text has black color on #001204 background.
This text has white color on #001204 background.