HEX: #42714A
RGB: (66,113,74)
#42714A contains red, green and blue colors in about the same proportion. Web safe color of #42714A is #336633 (or #363).
#42714A color RGB value is (66,113,74).
RGB: (66,113,74) (26%,44%,29%)
R 66 of 255 = 26%
G 113 of 255 = 44%
B 74 of 255 = 29%
R + G + B ~ 33%. #42714A is quite dark color.
R + G + B =
66 + 113 + 74 = 253 (100%)
R 66 of 253 ~ 26.09%
G 113 of 253 ~ 44.66%
B 74 of 253 ~ 29.25%
#42714A color CMYK value is (42,0,35,56).
CMYK: (42,0,35,56) C42M0Y35K56 (42%,0%,35%,56%) (0.42/0.00/0.35/0.56)
42 | 71 | 4A | |
---|---|---|---|
RGB | 66 | 113 | 74 |
HSL | 130° | 26.26% | 35.10% |
HSB/HSV | 130° | 41.59% | 44.31% |
CMYK | 41.59% | 0.00% | 34.51% |
55.69% |
HEX | 42 | 71 | 4A |
Decimal | 66 | 113 | 74 |
Binary | 1000010 | 1110001 | 1001010 |
Octal | 102 | 161 | 112 |
Examples of css and html codes for elements with #42714A color. Also use rgb(66,113,74) instead hex code.
.myTextColor { color: #42714A; }
<p style="color:#42714A">This sample text font color is #42714A.</p>
This text font color is #42714A.
.myBgColor { background-color: #42714A; }
<div style="background-color:#42714A">Inner text</div>
This div background color is #42714A.
.myBorderColor { border: 1px solid #42714A; }
<div style="border:3px solid #42714A">Div</div>
This div border color is #42714A.
.myOpacity80 { color: #42714A; opacity: 0.8; }
<p style="color:#42714A;opacity:0.8;">80%</p>
Text with #42714A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42714A;}
<p style="text-shadow: 3px 3px 1px #42714A">Text here.</p>
This text has shadow with #42714A color.
.textShadow {text-shadow: 3px 3px 1px #42714A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42714A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42714A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42714A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42714A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42714A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42714A; -webkit-box-shadow: 1px 1px 3px 2px #42714A; box-shadow: 1px 1px 3px 2px #42714A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42714A; -webkit-box-shadow: 1px 1px 3px 2px #42714A; box-shadow:1px 1px 3px 2px #42714A;">
Div content here</div>
This text has color #42714A on black background.
This text has color #42714A on white background.
This text has black color on #42714A background.
This text has white color on #42714A background.