HEX: #004915
RGB: (0,73,21)
#004915 contains only green and blue colors. Web safe color of #004915 is #003300 (or #030).
#004915 color RGB value is (0,73,21).
RGB: (0,73,21)
(0%, 29%, 8%)
R 0 of 255 = 0%
G 73 of 255 = 29%
B 21 of 255 = 8%
R + G + B ~ 12%. #004915 is dark color.
R + G + B = 0 + 73 + 21 = 94 (100%)
R 0 of 94 ~ 0%
G 73 of 94 ~ 77.66%
B 21 of 94 ~ 22.34'%
#004915 color CMYK value is (100,0,71,71).
CMYK: (100,0,71,71)
C100M0Y71K71 (100%, 0%, 71%, 71%)
(1.00 / 0.00 / 0.71 / 0.71)
Color #004915 in popluar color models
00 | 49 | 15 | |
---|---|---|---|
RGB | 0 | 73 | 21 |
HSL | 137° | 100.00% | 14.31% |
HSB/HSV | 137° | 100.00% | 28.63% |
CMYK | 100.00% | 0.00% | 71.23% |
71.37% |
Color #004915 in popluar number systems.
HEX | 00 | 49 | 15 |
Decimal | 0 | 73 | 21 |
Binary | 0 | 1001001 | 10101 |
Octal | 0 | 111 | 25 |
Shades of #004915
Tints of #004915
Examples of css and html codes for elements with #004915 color. Also use rgb(0,73,21) instead hex code.
.myTextColor { color: #004915; }
<p style="color:#004915">This sample text font color is #004915.</p>
This text font color is #004915.
.myBgColor { background-color: #004915; }
<div style="background-color:#004915">Inner text</div>
This div background color is #004915.
.myBorderColor { border: 1px solid #004915; }
<div style="border:3px solid #004915">Div</div>
This div border color is #004915.
.myOpacity80 { color: #004915; opacity: 0.8; }
<p style="color:#004915;opacity:0.8;">80%</p>
Text with #004915 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004915;}
<p style="text-shadow: 3px 3px 1px #004915">Text here.</p>
This text has shadow with #004915 color.
.textShadow {text-shadow: 3px 3px 1px #004915', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004915, 5px 5px 20px red">Text here.</p>
This text has shadow with #004915 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004915, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004915, Direction=45, Strength=4)">Text</p>
This text has shadow with #004915 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #004915;
-webkit-box-shadow: 1px 1px 3px 2px #004915;
box-shadow: 1px 1px 3px 2px #004915;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #004915; -webkit-box-shadow: 1px 1px 3px 2px #004915; box-shadow:1px 1px 3px 2px #004915;">
Div content here
</div>
This text has color #004915 on black background.
This text has color #004915 on white background.
This text has black color on #004915 background.
This text has white color on #004915 background.
Complementary color for #hex is #FFB6EA.