HEX: #42496B
RGB: (66,73,107)
#42496B contains red, green and blue colors in about the same proportion. Web safe color of #42496B is #333366 (or #336).
#42496B color RGB value is (66,73,107).
RGB: (66,73,107)
(26%, 29%, 42%)
R 66 of 255 = 26%
G 73 of 255 = 29%
B 107 of 255 = 42%
R + G + B ~ 32%. #42496B is quite dark color.
R + G + B = 66 + 73 + 107 = 246 (100%)
R 66 of 246 ~ 26.83%
G 73 of 246 ~ 29.67%
B 107 of 246 ~ 43.5'%
#42496B color CMYK value is (38,32,0,58).
CMYK: (38,32,0,58)
C38M32Y0K58 (38%, 32%, 0%, 58%)
(0.38 / 0.32 / 0.00 / 0.58)
Color #42496B in popluar color models
42 | 49 | 6B | |
---|---|---|---|
RGB | 66 | 73 | 107 |
HSL | 230° | 23.70% | 33.92% |
HSB/HSV | 230° | 38.32% | 41.96% |
CMYK | 38.32% | 31.78% | 0.00% |
58.04% |
Color #42496B in popluar number systems.
HEX | 42 | 49 | 6B |
Decimal | 66 | 73 | 107 |
Binary | 1000010 | 1001001 | 1101011 |
Octal | 102 | 111 | 153 |
Shades of #42496B
Tints of #42496B
Examples of css and html codes for elements with #42496B color. Also use rgb(66,73,107) instead hex code.
.myTextColor { color: #42496B; }
<p style="color:#42496B">This sample text font color is #42496B.</p>
This text font color is #42496B.
.myBgColor { background-color: #42496B; }
<div style="background-color:#42496B">Inner text</div>
This div background color is #42496B.
.myBorderColor { border: 1px solid #42496B; }
<div style="border:3px solid #42496B">Div</div>
This div border color is #42496B.
.myOpacity80 { color: #42496B; opacity: 0.8; }
<p style="color:#42496B;opacity:0.8;">80%</p>
Text with #42496B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42496B;}
<p style="text-shadow: 3px 3px 1px #42496B">Text here.</p>
This text has shadow with #42496B color.
.textShadow {text-shadow: 3px 3px 1px #42496B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42496B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42496B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42496B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42496B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42496B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42496B;
-webkit-box-shadow: 1px 1px 3px 2px #42496B;
box-shadow: 1px 1px 3px 2px #42496B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42496B; -webkit-box-shadow: 1px 1px 3px 2px #42496B; box-shadow:1px 1px 3px 2px #42496B;">
Div content here
</div>
This text has color #42496B on black background.
This text has color #42496B on white background.
This text has black color on #42496B background.
This text has white color on #42496B background.
Complementary color for #hex is #BDB694.