HEX: #42674B
RGB: (66,103,75)
#42674B contains red, green and blue colors in about the same proportion. Web safe color of #42674B is #336633 (or #363).
#42674B color RGB value is (66,103,75).
RGB: (66,103,75) (26%,40%,29%)
R 66 of 255 = 26%
G 103 of 255 = 40%
B 75 of 255 = 29%
R + G + B ~ 32%. #42674B is quite dark color.
R + G + B =
66 + 103 + 75 = 244 (100%)
R 66 of 244 ~ 27.05%
G 103 of 244 ~ 42.21%
B 75 of 244 ~ 30.74%
#42674B color CMYK value is (36,0,27,60).
CMYK: (36,0,27,60) C36M0Y27K60 (36%,0%,27%,60%) (0.36/0.00/0.27/0.60)
42 | 67 | 4B | |
---|---|---|---|
RGB | 66 | 103 | 75 |
HSL | 135° | 21.89% | 33.14% |
HSB/HSV | 135° | 35.92% | 40.39% |
CMYK | 35.92% | 0.00% | 27.18% |
59.61% |
HEX | 42 | 67 | 4B |
Decimal | 66 | 103 | 75 |
Binary | 1000010 | 1100111 | 1001011 |
Octal | 102 | 147 | 113 |
Examples of css and html codes for elements with #42674B color. Also use rgb(66,103,75) instead hex code.
.myTextColor { color: #42674B; }
<p style="color:#42674B">This sample text font color is #42674B.</p>
This text font color is #42674B.
.myBgColor { background-color: #42674B; }
<div style="background-color:#42674B">Inner text</div>
This div background color is #42674B.
.myBorderColor { border: 1px solid #42674B; }
<div style="border:3px solid #42674B">Div</div>
This div border color is #42674B.
.myOpacity80 { color: #42674B; opacity: 0.8; }
<p style="color:#42674B;opacity:0.8;">80%</p>
Text with #42674B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42674B;}
<p style="text-shadow: 3px 3px 1px #42674B">Text here.</p>
This text has shadow with #42674B color.
.textShadow {text-shadow: 3px 3px 1px #42674B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42674B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42674B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42674B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42674B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42674B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42674B; -webkit-box-shadow: 1px 1px 3px 2px #42674B; box-shadow: 1px 1px 3px 2px #42674B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42674B; -webkit-box-shadow: 1px 1px 3px 2px #42674B; box-shadow:1px 1px 3px 2px #42674B;">
Div content here</div>
This text has color #42674B on black background.
This text has color #42674B on white background.
This text has black color on #42674B background.
This text has white color on #42674B background.