HEX: #00400C
RGB: (0,64,12)
#00400C contains only green and blue colors. Web safe color of #00400C is #003300 (or #030).
#00400C color RGB value is (0,64,12).
RGB: (0,64,12)
(0%, 25%, 5%)
R 0 of 255 = 0%
G 64 of 255 = 25%
B 12 of 255 = 5%
R + G + B ~ 10%. #00400C is dark color.
R + G + B = 0 + 64 + 12 = 76 (100%)
R 0 of 76 ~ 0%
G 64 of 76 ~ 84.21%
B 12 of 76 ~ 15.79'%
#00400C color CMYK value is (100,0,81,75).
CMYK: (100,0,81,75)
C100M0Y81K75 (100%, 0%, 81%, 75%)
(1.00 / 0.00 / 0.81 / 0.75)
Color #00400C in popluar color models
00 | 40 | 0C | |
---|---|---|---|
RGB | 0 | 64 | 12 |
HSL | 131° | 100.00% | 12.55% |
HSB/HSV | 131° | 100.00% | 25.10% |
CMYK | 100.00% | 0.00% | 81.25% |
74.90% |
Color #00400C in popluar number systems.
HEX | 00 | 40 | 0C |
Decimal | 0 | 64 | 12 |
Binary | 0 | 1000000 | 1100 |
Octal | 0 | 100 | 14 |
Shades of #00400C
Tints of #00400C
Examples of css and html codes for elements with #00400C color. Also use rgb(0,64,12) instead hex code.
.myTextColor { color: #00400C; }
<p style="color:#00400C">This sample text font color is #00400C.</p>
This text font color is #00400C.
.myBgColor { background-color: #00400C; }
<div style="background-color:#00400C">Inner text</div>
This div background color is #00400C.
.myBorderColor { border: 1px solid #00400C; }
<div style="border:3px solid #00400C">Div</div>
This div border color is #00400C.
.myOpacity80 { color: #00400C; opacity: 0.8; }
<p style="color:#00400C;opacity:0.8;">80%</p>
Text with #00400C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #00400C;}
<p style="text-shadow: 3px 3px 1px #00400C">Text here.</p>
This text has shadow with #00400C color.
.textShadow {text-shadow: 3px 3px 1px #00400C', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #00400C, 5px 5px 20px red">Text here.</p>
This text has shadow with #00400C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#00400C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#00400C, Direction=45, Strength=4)">Text</p>
This text has shadow with #00400C and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #00400C;
-webkit-box-shadow: 1px 1px 3px 2px #00400C;
box-shadow: 1px 1px 3px 2px #00400C;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #00400C; -webkit-box-shadow: 1px 1px 3px 2px #00400C; box-shadow:1px 1px 3px 2px #00400C;">
Div content here
</div>
This text has color #00400C on black background.
This text has color #00400C on white background.
This text has black color on #00400C background.
This text has white color on #00400C background.
Complementary color for #hex is #FFBFF3.