HEX: #42466E
RGB: (66,70,110)
#42466E contains red, green and blue colors in about the same proportion. Web safe color of #42466E is #333366 (or #336).
#42466E color RGB value is (66,70,110).
RGB: (66,70,110) (26%,27%,43%)
R 66 of 255 = 26%
G 70 of 255 = 27%
B 110 of 255 = 43%
R + G + B ~ 32%. #42466E is quite dark color.
R + G + B =
66 + 70 + 110 = 246 (100%)
R 66 of 246 ~ 26.83%
G 70 of 246 ~ 28.46%
B 110 of 246 ~ 44.72%
#42466E color CMYK value is (40,36,0,57).
CMYK: (40,36,0,57) C40M36Y0K57 (40%,36%,0%,57%) (0.40/0.36/0.00/0.57)
42 | 46 | 6E | |
---|---|---|---|
RGB | 66 | 70 | 110 |
HSL | 235° | 25.00% | 34.51% |
HSB/HSV | 235° | 40.00% | 43.14% |
CMYK | 40.00% | 36.36% | 0.00% |
56.86% |
HEX | 42 | 46 | 6E |
Decimal | 66 | 70 | 110 |
Binary | 1000010 | 1000110 | 1101110 |
Octal | 102 | 106 | 156 |
Examples of css and html codes for elements with #42466E color. Also use rgb(66,70,110) instead hex code.
.myTextColor { color: #42466E; }
<p style="color:#42466E">This sample text font color is #42466E.</p>
This text font color is #42466E.
.myBgColor { background-color: #42466E; }
<div style="background-color:#42466E">Inner text</div>
This div background color is #42466E.
.myBorderColor { border: 1px solid #42466E; }
<div style="border:3px solid #42466E">Div</div>
This div border color is #42466E.
.myOpacity80 { color: #42466E; opacity: 0.8; }
<p style="color:#42466E;opacity:0.8;">80%</p>
Text with #42466E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42466E;}
<p style="text-shadow: 3px 3px 1px #42466E">Text here.</p>
This text has shadow with #42466E color.
.textShadow {text-shadow: 3px 3px 1px #42466E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42466E, 5px 5px 20px red">Text here.</p>
This text has shadow with #42466E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42466E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42466E, Direction=45, Strength=4)">Text</p>
This text has shadow with #42466E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42466E; -webkit-box-shadow: 1px 1px 3px 2px #42466E; box-shadow: 1px 1px 3px 2px #42466E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42466E; -webkit-box-shadow: 1px 1px 3px 2px #42466E; box-shadow:1px 1px 3px 2px #42466E;">
Div content here</div>
This text has color #42466E on black background.
This text has color #42466E on white background.
This text has black color on #42466E background.
This text has white color on #42466E background.