HEX: #4E72BC
RGB: (78,114,188)
#4E72BC contains mainly blue color. Web safe color of #4E72BC is #6666CC (or #66C).
#4E72BC color RGB value is (78,114,188).
RGB: (78,114,188) (31%,45%,74%)
R 78 of 255 = 31%
G 114 of 255 = 45%
B 188 of 255 = 74%
R + G + B ~ 50%. #4E72BC is middle color (not dark and not light).
R + G + B =
78 + 114 + 188 = 380 (100%)
R 78 of 380 ~ 20.53%
G 114 of 380 ~ 30%
B 188 of 380 ~ 49.47%
#4E72BC color CMYK value is (59,39,0,26).
CMYK: (59,39,0,26) C59M39Y0K26 (59%,39%,0%,26%) (0.59/0.39/0.00/0.26)
4E | 72 | BC | |
---|---|---|---|
RGB | 78 | 114 | 188 |
HSL | 220° | 45.08% | 52.16% |
HSB/HSV | 220° | 58.51% | 73.73% |
CMYK | 58.51% | 39.36% | 0.00% |
26.27% |
HEX | 4E | 72 | BC |
Decimal | 78 | 114 | 188 |
Binary | 1001110 | 1110010 | 10111100 |
Octal | 116 | 162 | 274 |
Examples of css and html codes for elements with #4E72BC color. Also use rgb(78,114,188) instead hex code.
.myTextColor { color: #4E72BC; }
<p style="color:#4E72BC">This sample text font color is #4E72BC.</p>
This text font color is #4E72BC.
.myBgColor { background-color: #4E72BC; }
<div style="background-color:#4E72BC">Inner text</div>
This div background color is #4E72BC.
.myBorderColor { border: 1px solid #4E72BC; }
<div style="border:3px solid #4E72BC">Div</div>
This div border color is #4E72BC.
.myOpacity80 { color: #4E72BC; opacity: 0.8; }
<p style="color:#4E72BC;opacity:0.8;">80%</p>
Text with #4E72BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E72BC;}
<p style="text-shadow: 3px 3px 1px #4E72BC">Text here.</p>
This text has shadow with #4E72BC color.
.textShadow {text-shadow: 3px 3px 1px #4E72BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E72BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E72BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E72BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E72BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E72BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E72BC; -webkit-box-shadow: 1px 1px 3px 2px #4E72BC; box-shadow: 1px 1px 3px 2px #4E72BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E72BC; -webkit-box-shadow: 1px 1px 3px 2px #4E72BC; box-shadow:1px 1px 3px 2px #4E72BC;">
Div content here</div>
This text has color #4E72BC on black background.
This text has color #4E72BC on white background.
This text has black color on #4E72BC background.
This text has white color on #4E72BC background.