HEX: #42606B
RGB: (66,96,107)
#42606B contains red, green and blue colors in about the same proportion. Web safe color of #42606B is #336666 (or #366).
#42606B color RGB value is (66,96,107).
RGB: (66,96,107) (26%,38%,42%)
R 66 of 255 = 26%
G 96 of 255 = 38%
B 107 of 255 = 42%
R + G + B ~ 35%. #42606B is quite dark color.
R + G + B =
66 + 96 + 107 = 269 (100%)
R 66 of 269 ~ 24.54%
G 96 of 269 ~ 35.69%
B 107 of 269 ~ 39.78%
#42606B color CMYK value is (38,10,0,58).
CMYK: (38,10,0,58) C38M10Y0K58 (38%,10%,0%,58%) (0.38/0.10/0.00/0.58)
42 | 60 | 6B | |
---|---|---|---|
RGB | 66 | 96 | 107 |
HSL | 196° | 23.70% | 33.92% |
HSB/HSV | 196° | 38.32% | 41.96% |
CMYK | 38.32% | 10.28% | 0.00% |
58.04% |
HEX | 42 | 60 | 6B |
Decimal | 66 | 96 | 107 |
Binary | 1000010 | 1100000 | 1101011 |
Octal | 102 | 140 | 153 |
Examples of css and html codes for elements with #42606B color. Also use rgb(66,96,107) instead hex code.
.myTextColor { color: #42606B; }
<p style="color:#42606B">This sample text font color is #42606B.</p>
This text font color is #42606B.
.myBgColor { background-color: #42606B; }
<div style="background-color:#42606B">Inner text</div>
This div background color is #42606B.
.myBorderColor { border: 1px solid #42606B; }
<div style="border:3px solid #42606B">Div</div>
This div border color is #42606B.
.myOpacity80 { color: #42606B; opacity: 0.8; }
<p style="color:#42606B;opacity:0.8;">80%</p>
Text with #42606B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42606B;}
<p style="text-shadow: 3px 3px 1px #42606B">Text here.</p>
This text has shadow with #42606B color.
.textShadow {text-shadow: 3px 3px 1px #42606B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42606B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42606B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42606B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42606B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42606B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42606B; -webkit-box-shadow: 1px 1px 3px 2px #42606B; box-shadow: 1px 1px 3px 2px #42606B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42606B; -webkit-box-shadow: 1px 1px 3px 2px #42606B; box-shadow:1px 1px 3px 2px #42606B;">
Div content here</div>
This text has color #42606B on black background.
This text has color #42606B on white background.
This text has black color on #42606B background.
This text has white color on #42606B background.