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