HEX: #42705E
RGB: (66,112,94)
#42705E contains red, green and blue colors in about the same proportion. Web safe color of #42705E is #336666 (or #366).
#42705E color RGB value is (66,112,94).
RGB: (66,112,94)
(26%, 44%, 37%)
R 66 of 255 = 26%
G 112 of 255 = 44%
B 94 of 255 = 37%
R + G + B ~ 36%. #42705E is quite dark color.
R + G + B = 66 + 112 + 94 = 272 (100%)
R 66 of 272 ~ 24.26%
G 112 of 272 ~ 41.18%
B 94 of 272 ~ 34.56'%
#42705E color CMYK value is (41,0,16,56).
CMYK: (41,0,16,56)
C41M0Y16K56 (41%, 0%, 16%, 56%)
(0.41 / 0.00 / 0.16 / 0.56)
Color #42705E in popluar color models
42 | 70 | 5E | |
---|---|---|---|
RGB | 66 | 112 | 94 |
HSL | 157° | 25.84% | 34.90% |
HSB/HSV | 157° | 41.07% | 43.92% |
CMYK | 41.07% | 0.00% | 16.07% |
56.08% |
Color #42705E in popluar number systems.
HEX | 42 | 70 | 5E |
Decimal | 66 | 112 | 94 |
Binary | 1000010 | 1110000 | 1011110 |
Octal | 102 | 160 | 136 |
Shades of #42705E
Tints of #42705E
Examples of css and html codes for elements with #42705E color. Also use rgb(66,112,94) instead hex code.
.myTextColor { color: #42705E; }
<p style="color:#42705E">This sample text font color is #42705E.</p>
This text font color is #42705E.
.myBgColor { background-color: #42705E; }
<div style="background-color:#42705E">Inner text</div>
This div background color is #42705E.
.myBorderColor { border: 1px solid #42705E; }
<div style="border:3px solid #42705E">Div</div>
This div border color is #42705E.
.myOpacity80 { color: #42705E; opacity: 0.8; }
<p style="color:#42705E;opacity:0.8;">80%</p>
Text with #42705E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42705E;}
<p style="text-shadow: 3px 3px 1px #42705E">Text here.</p>
This text has shadow with #42705E color.
.textShadow {text-shadow: 3px 3px 1px #42705E', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42705E, 5px 5px 20px red">Text here.</p>
This text has shadow with #42705E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42705E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42705E, Direction=45, Strength=4)">Text</p>
This text has shadow with #42705E and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42705E;
-webkit-box-shadow: 1px 1px 3px 2px #42705E;
box-shadow: 1px 1px 3px 2px #42705E;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42705E; -webkit-box-shadow: 1px 1px 3px 2px #42705E; box-shadow:1px 1px 3px 2px #42705E;">
Div content here
</div>
This text has color #42705E on black background.
This text has color #42705E on white background.
This text has black color on #42705E background.
This text has white color on #42705E background.
Complementary color for #hex is #BD8FA1.