HEX: #42711E
RGB: (66,113,30)
#42711E contains mainly red and green colors. Web safe color of #42711E is #336633 (or #363).
#42711E color RGB value is (66,113,30).
RGB: (66,113,30) (26%,44%,12%)
R 66 of 255 = 26%
G 113 of 255 = 44%
B 30 of 255 = 12%
R + G + B ~ 27%. #42711E is quite dark color.
R + G + B =
66 + 113 + 30 = 209 (100%)
R 66 of 209 ~ 31.58%
G 113 of 209 ~ 54.07%
B 30 of 209 ~ 14.35%
#42711E color CMYK value is (42,0,73,56).
CMYK: (42,0,73,56) C42M0Y73K56 (42%,0%,73%,56%) (0.42/0.00/0.73/0.56)
42 | 71 | 1E | |
---|---|---|---|
RGB | 66 | 113 | 30 |
HSL | 94° | 58.04% | 28.04% |
HSB/HSV | 94° | 73.45% | 44.31% |
CMYK | 41.59% | 0.00% | 73.45% |
55.69% |
HEX | 42 | 71 | 1E |
Decimal | 66 | 113 | 30 |
Binary | 1000010 | 1110001 | 11110 |
Octal | 102 | 161 | 36 |
Examples of css and html codes for elements with #42711E color. Also use rgb(66,113,30) instead hex code.
.myTextColor { color: #42711E; }
<p style="color:#42711E">This sample text font color is #42711E.</p>
This text font color is #42711E.
.myBgColor { background-color: #42711E; }
<div style="background-color:#42711E">Inner text</div>
This div background color is #42711E.
.myBorderColor { border: 1px solid #42711E; }
<div style="border:3px solid #42711E">Div</div>
This div border color is #42711E.
.myOpacity80 { color: #42711E; opacity: 0.8; }
<p style="color:#42711E;opacity:0.8;">80%</p>
Text with #42711E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42711E;}
<p style="text-shadow: 3px 3px 1px #42711E">Text here.</p>
This text has shadow with #42711E color.
.textShadow {text-shadow: 3px 3px 1px #42711E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42711E, 5px 5px 20px red">Text here.</p>
This text has shadow with #42711E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42711E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42711E, Direction=45, Strength=4)">Text</p>
This text has shadow with #42711E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42711E; -webkit-box-shadow: 1px 1px 3px 2px #42711E; box-shadow: 1px 1px 3px 2px #42711E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42711E; -webkit-box-shadow: 1px 1px 3px 2px #42711E; box-shadow:1px 1px 3px 2px #42711E;">
Div content here</div>
This text has color #42711E on black background.
This text has color #42711E on white background.
This text has black color on #42711E background.
This text has white color on #42711E background.