HEX: #42628B
RGB: (66,98,139)
#42628B contains mainly green and blue colors. Web safe color of #42628B is #336699 (or #369).
#42628B color RGB value is (66,98,139).
RGB: (66,98,139)
(26%, 38%, 55%)
R 66 of 255 = 26%
G 98 of 255 = 38%
B 139 of 255 = 55%
R + G + B ~ 40%. #42628B is middle color (not dark and not light).
R + G + B = 66 + 98 + 139 = 303 (100%)
R 66 of 303 ~ 21.78%
G 98 of 303 ~ 32.34%
B 139 of 303 ~ 45.87'%
#42628B color CMYK value is (53,29,0,45).
CMYK: (53,29,0,45)
C53M29Y0K45 (53%, 29%, 0%, 45%)
(0.53 / 0.29 / 0.00 / 0.45)
Color #42628B in popluar color models
42 | 62 | 8B | |
---|---|---|---|
RGB | 66 | 98 | 139 |
HSL | 214° | 35.61% | 40.20% |
HSB/HSV | 214° | 52.52% | 54.51% |
CMYK | 52.52% | 29.50% | 0.00% |
45.49% |
Color #42628B in popluar number systems.
HEX | 42 | 62 | 8B |
Decimal | 66 | 98 | 139 |
Binary | 1000010 | 1100010 | 10001011 |
Octal | 102 | 142 | 213 |
Shades of #42628B
Tints of #42628B
Examples of css and html codes for elements with #42628B color. Also use rgb(66,98,139) instead hex code.
.myTextColor { color: #42628B; }
<p style="color:#42628B">This sample text font color is #42628B.</p>
This text font color is #42628B.
.myBgColor { background-color: #42628B; }
<div style="background-color:#42628B">Inner text</div>
This div background color is #42628B.
.myBorderColor { border: 1px solid #42628B; }
<div style="border:3px solid #42628B">Div</div>
This div border color is #42628B.
.myOpacity80 { color: #42628B; opacity: 0.8; }
<p style="color:#42628B;opacity:0.8;">80%</p>
Text with #42628B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42628B;}
<p style="text-shadow: 3px 3px 1px #42628B">Text here.</p>
This text has shadow with #42628B color.
.textShadow {text-shadow: 3px 3px 1px #42628B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42628B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42628B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42628B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42628B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42628B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42628B;
-webkit-box-shadow: 1px 1px 3px 2px #42628B;
box-shadow: 1px 1px 3px 2px #42628B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42628B; -webkit-box-shadow: 1px 1px 3px 2px #42628B; box-shadow:1px 1px 3px 2px #42628B;">
Div content here
</div>
This text has color #42628B on black background.
This text has color #42628B on white background.
This text has black color on #42628B background.
This text has white color on #42628B background.
Complementary color for #hex is #BD9D74.