HEX: #074216
RGB: (7,66,22)
#074216 contains red, green and blue colors in about the same proportion. Web safe color of #074216 is #003300 (or #030).
#074216 color RGB value is (7,66,22).
RGB: (7,66,22) (3%,26%,9%)
R 7 of 255 = 3%
G 66 of 255 = 26%
B 22 of 255 = 9%
R + G + B ~ 13%. #074216 is dark color.
R + G + B =
7 + 66 + 22 = 95 (100%)
R 7 of 95 ~ 7.37%
G 66 of 95 ~ 69.47%
B 22 of 95 ~ 23.16%
#074216 color CMYK value is (89,0,67,74).
CMYK: (89,0,67,74) C89M0Y67K74 (89%,0%,67%,74%) (0.89/0.00/0.67/0.74)
07 | 42 | 16 | |
---|---|---|---|
RGB | 7 | 66 | 22 |
HSL | 135° | 80.82% | 14.31% |
HSB/HSV | 135° | 89.39% | 25.88% |
CMYK | 89.39% | 0.00% | 66.67% |
74.12% |
HEX | 07 | 42 | 16 |
Decimal | 7 | 66 | 22 |
Binary | 111 | 1000010 | 10110 |
Octal | 7 | 102 | 26 |
Examples of css and html codes for elements with #074216 color. Also use rgb(7,66,22) instead hex code.
.myTextColor { color: #074216; }
<p style="color:#074216">This sample text font color is #074216.</p>
This text font color is #074216.
.myBgColor { background-color: #074216; }
<div style="background-color:#074216">Inner text</div>
This div background color is #074216.
.myBorderColor { border: 1px solid #074216; }
<div style="border:3px solid #074216">Div</div>
This div border color is #074216.
.myOpacity80 { color: #074216; opacity: 0.8; }
<p style="color:#074216;opacity:0.8;">80%</p>
Text with #074216 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #074216;}
<p style="text-shadow: 3px 3px 1px #074216">Text here.</p>
This text has shadow with #074216 color.
.textShadow {text-shadow: 3px 3px 1px #074216, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #074216, 5px 5px 20px red">Text here.</p>
This text has shadow with #074216 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#074216, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#074216, Direction=45, Strength=4)">Text</p>
This text has shadow with #074216 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #074216; -webkit-box-shadow: 1px 1px 3px 2px #074216; box-shadow: 1px 1px 3px 2px #074216; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #074216; -webkit-box-shadow: 1px 1px 3px 2px #074216; box-shadow:1px 1px 3px 2px #074216;">
Div content here</div>
This text has color #074216 on black background.
This text has color #074216 on white background.
This text has black color on #074216 background.
This text has white color on #074216 background.