HEX: #42587B
RGB: (66,88,123)
#42587B contains red, green and blue colors in about the same proportion. Web safe color of #42587B is #336666 (or #366).
#42587B color RGB value is (66,88,123).
RGB: (66,88,123) (26%,35%,48%)
R 66 of 255 = 26%
G 88 of 255 = 35%
B 123 of 255 = 48%
R + G + B ~ 36%. #42587B is quite dark color.
R + G + B =
66 + 88 + 123 = 277 (100%)
R 66 of 277 ~ 23.83%
G 88 of 277 ~ 31.77%
B 123 of 277 ~ 44.4%
#42587B color CMYK value is (46,28,0,52).
CMYK: (46,28,0,52) C46M28Y0K52 (46%,28%,0%,52%) (0.46/0.28/0.00/0.52)
42 | 58 | 7B | |
---|---|---|---|
RGB | 66 | 88 | 123 |
HSL | 217° | 30.16% | 37.06% |
HSB/HSV | 217° | 46.34% | 48.24% |
CMYK | 46.34% | 28.46% | 0.00% |
51.76% |
HEX | 42 | 58 | 7B |
Decimal | 66 | 88 | 123 |
Binary | 1000010 | 1011000 | 1111011 |
Octal | 102 | 130 | 173 |
Examples of css and html codes for elements with #42587B color. Also use rgb(66,88,123) instead hex code.
.myTextColor { color: #42587B; }
<p style="color:#42587B">This sample text font color is #42587B.</p>
This text font color is #42587B.
.myBgColor { background-color: #42587B; }
<div style="background-color:#42587B">Inner text</div>
This div background color is #42587B.
.myBorderColor { border: 1px solid #42587B; }
<div style="border:3px solid #42587B">Div</div>
This div border color is #42587B.
.myOpacity80 { color: #42587B; opacity: 0.8; }
<p style="color:#42587B;opacity:0.8;">80%</p>
Text with #42587B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42587B;}
<p style="text-shadow: 3px 3px 1px #42587B">Text here.</p>
This text has shadow with #42587B color.
.textShadow {text-shadow: 3px 3px 1px #42587B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42587B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42587B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42587B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42587B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42587B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42587B; -webkit-box-shadow: 1px 1px 3px 2px #42587B; box-shadow: 1px 1px 3px 2px #42587B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42587B; -webkit-box-shadow: 1px 1px 3px 2px #42587B; box-shadow:1px 1px 3px 2px #42587B;">
Div content here</div>
This text has color #42587B on black background.
This text has color #42587B on white background.
This text has black color on #42587B background.
This text has white color on #42587B background.