HEX: #42709B
RGB: (66,112,155)
#42709B contains mainly green and blue colors. Web safe color of #42709B is #336699 (or #369).
#42709B color RGB value is (66,112,155).
RGB: (66,112,155) (26%,44%,61%)
R 66 of 255 = 26%
G 112 of 255 = 44%
B 155 of 255 = 61%
R + G + B ~ 44%. #42709B is middle color (not dark and not light).
R + G + B =
66 + 112 + 155 = 333 (100%)
R 66 of 333 ~ 19.82%
G 112 of 333 ~ 33.63%
B 155 of 333 ~ 46.55%
#42709B color CMYK value is (57,28,0,39).
CMYK: (57,28,0,39) C57M28Y0K39 (57%,28%,0%,39%) (0.57/0.28/0.00/0.39)
42 | 70 | 9B | |
---|---|---|---|
RGB | 66 | 112 | 155 |
HSL | 209° | 40.27% | 43.33% |
HSB/HSV | 209° | 57.42% | 60.78% |
CMYK | 57.42% | 27.74% | 0.00% |
39.22% |
HEX | 42 | 70 | 9B |
Decimal | 66 | 112 | 155 |
Binary | 1000010 | 1110000 | 10011011 |
Octal | 102 | 160 | 233 |
Examples of css and html codes for elements with #42709B color. Also use rgb(66,112,155) instead hex code.
.myTextColor { color: #42709B; }
<p style="color:#42709B">This sample text font color is #42709B.</p>
This text font color is #42709B.
.myBgColor { background-color: #42709B; }
<div style="background-color:#42709B">Inner text</div>
This div background color is #42709B.
.myBorderColor { border: 1px solid #42709B; }
<div style="border:3px solid #42709B">Div</div>
This div border color is #42709B.
.myOpacity80 { color: #42709B; opacity: 0.8; }
<p style="color:#42709B;opacity:0.8;">80%</p>
Text with #42709B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42709B;}
<p style="text-shadow: 3px 3px 1px #42709B">Text here.</p>
This text has shadow with #42709B color.
.textShadow {text-shadow: 3px 3px 1px #42709B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42709B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42709B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42709B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42709B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42709B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42709B; -webkit-box-shadow: 1px 1px 3px 2px #42709B; box-shadow: 1px 1px 3px 2px #42709B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42709B; -webkit-box-shadow: 1px 1px 3px 2px #42709B; box-shadow:1px 1px 3px 2px #42709B;">
Div content here</div>
This text has color #42709B on black background.
This text has color #42709B on white background.
This text has black color on #42709B background.
This text has white color on #42709B background.