HEX: #42734B
RGB: (66,115,75)
#42734B contains red, green and blue colors in about the same proportion. Web safe color of #42734B is #336633 (or #363).
#42734B color RGB value is (66,115,75).
RGB: (66,115,75) (26%,45%,29%)
R 66 of 255 = 26%
G 115 of 255 = 45%
B 75 of 255 = 29%
R + G + B ~ 33%. #42734B is quite dark color.
R + G + B =
66 + 115 + 75 = 256 (100%)
R 66 of 256 ~ 25.78%
G 115 of 256 ~ 44.92%
B 75 of 256 ~ 29.3%
#42734B color CMYK value is (43,0,35,55).
CMYK: (43,0,35,55) C43M0Y35K55 (43%,0%,35%,55%) (0.43/0.00/0.35/0.55)
42 | 73 | 4B | |
---|---|---|---|
RGB | 66 | 115 | 75 |
HSL | 131° | 27.07% | 35.49% |
HSB/HSV | 131° | 42.61% | 45.10% |
CMYK | 42.61% | 0.00% | 34.78% |
54.90% |
HEX | 42 | 73 | 4B |
Decimal | 66 | 115 | 75 |
Binary | 1000010 | 1110011 | 1001011 |
Octal | 102 | 163 | 113 |
Examples of css and html codes for elements with #42734B color. Also use rgb(66,115,75) instead hex code.
.myTextColor { color: #42734B; }
<p style="color:#42734B">This sample text font color is #42734B.</p>
This text font color is #42734B.
.myBgColor { background-color: #42734B; }
<div style="background-color:#42734B">Inner text</div>
This div background color is #42734B.
.myBorderColor { border: 1px solid #42734B; }
<div style="border:3px solid #42734B">Div</div>
This div border color is #42734B.
.myOpacity80 { color: #42734B; opacity: 0.8; }
<p style="color:#42734B;opacity:0.8;">80%</p>
Text with #42734B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42734B;}
<p style="text-shadow: 3px 3px 1px #42734B">Text here.</p>
This text has shadow with #42734B color.
.textShadow {text-shadow: 3px 3px 1px #42734B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42734B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42734B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42734B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42734B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42734B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42734B; -webkit-box-shadow: 1px 1px 3px 2px #42734B; box-shadow: 1px 1px 3px 2px #42734B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42734B; -webkit-box-shadow: 1px 1px 3px 2px #42734B; box-shadow:1px 1px 3px 2px #42734B;">
Div content here</div>
This text has color #42734B on black background.
This text has color #42734B on white background.
This text has black color on #42734B background.
This text has white color on #42734B background.