HEX: #42707D
RGB: (66,112,125)
#42707D contains red, green and blue colors in about the same proportion. Web safe color of #42707D is #336666 (or #366).
#42707D color RGB value is (66,112,125).
RGB: (66,112,125) (26%,44%,49%)
R 66 of 255 = 26%
G 112 of 255 = 44%
B 125 of 255 = 49%
R + G + B ~ 40%. #42707D is middle color (not dark and not light).
R + G + B =
66 + 112 + 125 = 303 (100%)
R 66 of 303 ~ 21.78%
G 112 of 303 ~ 36.96%
B 125 of 303 ~ 41.25%
#42707D color CMYK value is (47,10,0,51).
CMYK: (47,10,0,51) C47M10Y0K51 (47%,10%,0%,51%) (0.47/0.10/0.00/0.51)
42 | 70 | 7D | |
---|---|---|---|
RGB | 66 | 112 | 125 |
HSL | 193° | 30.89% | 37.45% |
HSB/HSV | 193° | 47.20% | 49.02% |
CMYK | 47.20% | 10.40% | 0.00% |
50.98% |
HEX | 42 | 70 | 7D |
Decimal | 66 | 112 | 125 |
Binary | 1000010 | 1110000 | 1111101 |
Octal | 102 | 160 | 175 |
Examples of css and html codes for elements with #42707D color. Also use rgb(66,112,125) instead hex code.
.myTextColor { color: #42707D; }
<p style="color:#42707D">This sample text font color is #42707D.</p>
This text font color is #42707D.
.myBgColor { background-color: #42707D; }
<div style="background-color:#42707D">Inner text</div>
This div background color is #42707D.
.myBorderColor { border: 1px solid #42707D; }
<div style="border:3px solid #42707D">Div</div>
This div border color is #42707D.
.myOpacity80 { color: #42707D; opacity: 0.8; }
<p style="color:#42707D;opacity:0.8;">80%</p>
Text with #42707D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42707D;}
<p style="text-shadow: 3px 3px 1px #42707D">Text here.</p>
This text has shadow with #42707D color.
.textShadow {text-shadow: 3px 3px 1px #42707D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42707D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42707D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42707D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42707D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42707D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42707D; -webkit-box-shadow: 1px 1px 3px 2px #42707D; box-shadow: 1px 1px 3px 2px #42707D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42707D; -webkit-box-shadow: 1px 1px 3px 2px #42707D; box-shadow:1px 1px 3px 2px #42707D;">
Div content here</div>
This text has color #42707D on black background.
This text has color #42707D on white background.
This text has black color on #42707D background.
This text has white color on #42707D background.