HEX: #4C628E
RGB: (76,98,142)
#4C628E contains mainly green and blue colors. Web safe color of #4C628E is #336699 (or #369).
#4C628E color RGB value is (76,98,142).
RGB: (76,98,142) (30%,38%,56%)
R 76 of 255 = 30%
G 98 of 255 = 38%
B 142 of 255 = 56%
R + G + B ~ 41%. #4C628E is middle color (not dark and not light).
R + G + B =
76 + 98 + 142 = 316 (100%)
R 76 of 316 ~ 24.05%
G 98 of 316 ~ 31.01%
B 142 of 316 ~ 44.94%
#4C628E color CMYK value is (46,31,0,44).
CMYK: (46,31,0,44) C46M31Y0K44 (46%,31%,0%,44%) (0.46/0.31/0.00/0.44)
4C | 62 | 8E | |
---|---|---|---|
RGB | 76 | 98 | 142 |
HSL | 220° | 30.28% | 42.75% |
HSB/HSV | 220° | 46.48% | 55.69% |
CMYK | 46.48% | 30.99% | 0.00% |
44.31% |
HEX | 4C | 62 | 8E |
Decimal | 76 | 98 | 142 |
Binary | 1001100 | 1100010 | 10001110 |
Octal | 114 | 142 | 216 |
Examples of css and html codes for elements with #4C628E color. Also use rgb(76,98,142) instead hex code.
.myTextColor { color: #4C628E; }
<p style="color:#4C628E">This sample text font color is #4C628E.</p>
This text font color is #4C628E.
.myBgColor { background-color: #4C628E; }
<div style="background-color:#4C628E">Inner text</div>
This div background color is #4C628E.
.myBorderColor { border: 1px solid #4C628E; }
<div style="border:3px solid #4C628E">Div</div>
This div border color is #4C628E.
.myOpacity80 { color: #4C628E; opacity: 0.8; }
<p style="color:#4C628E;opacity:0.8;">80%</p>
Text with #4C628E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C628E;}
<p style="text-shadow: 3px 3px 1px #4C628E">Text here.</p>
This text has shadow with #4C628E color.
.textShadow {text-shadow: 3px 3px 1px #4C628E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C628E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C628E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C628E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C628E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C628E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C628E; -webkit-box-shadow: 1px 1px 3px 2px #4C628E; box-shadow: 1px 1px 3px 2px #4C628E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C628E; -webkit-box-shadow: 1px 1px 3px 2px #4C628E; box-shadow:1px 1px 3px 2px #4C628E;">
Div content here</div>
This text has color #4C628E on black background.
This text has color #4C628E on white background.
This text has black color on #4C628E background.
This text has white color on #4C628E background.