HEX: #42487F
RGB: (66,72,127)
#42487F contains mainly green and blue colors. Web safe color of #42487F is #333366 (or #336).
#42487F color RGB value is (66,72,127).
RGB: (66,72,127)
(26%, 28%, 50%)
R 66 of 255 = 26%
G 72 of 255 = 28%
B 127 of 255 = 50%
R + G + B ~ 35%. #42487F is quite dark color.
R + G + B = 66 + 72 + 127 = 265 (100%)
R 66 of 265 ~ 24.91%
G 72 of 265 ~ 27.17%
B 127 of 265 ~ 47.92'%
#42487F color CMYK value is (48,43,0,50).
CMYK: (48,43,0,50) C48M43Y0K50 (48%,43%,0%,50%) (0.48/0.43/0.00/0.50)
Color #42487F in popluar color models
42 | 48 | 7F | |
---|---|---|---|
RGB | 66 | 72 | 127 |
HSL | 234° | 31.61% | 37.84% |
HSB/HSV | 234° | 48.03% | 49.80% |
CMYK | 48.03% | 43.31% | 0.00% |
50.20% |
Color #42487F in popluar number systems.
HEX | 42 | 48 | 7F |
Decimal | 66 | 72 | 127 |
Binary | 1000010 | 1001000 | 1111111 |
Octal | 102 | 110 | 177 |
Shades of #42487F
Tints of #42487F
Examples of css and html codes for elements with #42487F color. Also use rgb(66,72,127) instead hex code.
.myTextColor { color: #42487F; }
<p style="color:#42487F">This sample text font color is #42487F.</p>
This text font color is #42487F.
.myBgColor { background-color: #42487F; }
<div style="background-color:#42487F">Inner text</div>
This div background color is #42487F.
.myBorderColor { border: 1px solid #42487F; }
<div style="border:3px solid #42487F">Div</div>
This div border color is #42487F.
.myOpacity80 { color: #42487F; opacity: 0.8; }
<p style="color:#42487F;opacity:0.8;">80%</p>
Text with #42487F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42487F;}
<p style="text-shadow: 3px 3px 1px #42487F">Text here.</p>
This text has shadow with #42487F color.
.textShadow {text-shadow: 3px 3px 1px #42487F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42487F, 5px 5px 20px red">Text here.</p>
This text has shadow with #42487F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42487F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42487F, Direction=45, Strength=4)">Text</p>
This text has shadow with #42487F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42487F;
-webkit-box-shadow: 1px 1px 3px 2px #42487F;
box-shadow: 1px 1px 3px 2px #42487F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42487F; -webkit-box-shadow: 1px 1px 3px 2px #42487F; box-shadow:1px 1px 3px 2px #42487F;">
Div content here
</div>
This text has color #42487F on black background.
This text has color #42487F on white background.
This text has black color on #42487F background.
This text has white color on #42487F background.
Complementary color for #hex is #BDB780.