HEX: #42648B
RGB: (66,100,139)
#42648B contains mainly green and blue colors. Web safe color of #42648B is #336699 (or #369).
#42648B color RGB value is (66,100,139).
RGB: (66,100,139) (26%,39%,55%)
R 66 of 255 = 26%
G 100 of 255 = 39%
B 139 of 255 = 55%
R + G + B ~ 40%. #42648B is middle color (not dark and not light).
R + G + B =
66 + 100 + 139 = 305 (100%)
R 66 of 305 ~ 21.64%
G 100 of 305 ~ 32.79%
B 139 of 305 ~ 45.57%
#42648B color CMYK value is (53,28,0,45).
CMYK: (53,28,0,45) C53M28Y0K45 (53%,28%,0%,45%) (0.53/0.28/0.00/0.45)
42 | 64 | 8B | |
---|---|---|---|
RGB | 66 | 100 | 139 |
HSL | 212° | 35.61% | 40.20% |
HSB/HSV | 212° | 52.52% | 54.51% |
CMYK | 52.52% | 28.06% | 0.00% |
45.49% |
HEX | 42 | 64 | 8B |
Decimal | 66 | 100 | 139 |
Binary | 1000010 | 1100100 | 10001011 |
Octal | 102 | 144 | 213 |
Examples of css and html codes for elements with #42648B color. Also use rgb(66,100,139) instead hex code.
.myTextColor { color: #42648B; }
<p style="color:#42648B">This sample text font color is #42648B.</p>
This text font color is #42648B.
.myBgColor { background-color: #42648B; }
<div style="background-color:#42648B">Inner text</div>
This div background color is #42648B.
.myBorderColor { border: 1px solid #42648B; }
<div style="border:3px solid #42648B">Div</div>
This div border color is #42648B.
.myOpacity80 { color: #42648B; opacity: 0.8; }
<p style="color:#42648B;opacity:0.8;">80%</p>
Text with #42648B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42648B;}
<p style="text-shadow: 3px 3px 1px #42648B">Text here.</p>
This text has shadow with #42648B color.
.textShadow {text-shadow: 3px 3px 1px #42648B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42648B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42648B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42648B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42648B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42648B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42648B; -webkit-box-shadow: 1px 1px 3px 2px #42648B; box-shadow: 1px 1px 3px 2px #42648B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42648B; -webkit-box-shadow: 1px 1px 3px 2px #42648B; box-shadow:1px 1px 3px 2px #42648B;">
Div content here</div>
This text has color #42648B on black background.
This text has color #42648B on white background.
This text has black color on #42648B background.
This text has white color on #42648B background.