HEX: #4B78AB
RGB: (75,120,171)
#4B78AB contains mainly green and blue colors. Web safe color of #4B78AB is #336699 (or #369).
#4B78AB color RGB value is (75,120,171).
RGB: (75,120,171) (29%,47%,67%)
R 75 of 255 = 29%
G 120 of 255 = 47%
B 171 of 255 = 67%
R + G + B ~ 48%. #4B78AB is middle color (not dark and not light).
R + G + B =
75 + 120 + 171 = 366 (100%)
R 75 of 366 ~ 20.49%
G 120 of 366 ~ 32.79%
B 171 of 366 ~ 46.72%
#4B78AB color CMYK value is (56,30,0,33).
CMYK: (56,30,0,33) C56M30Y0K33 (56%,30%,0%,33%) (0.56/0.30/0.00/0.33)
4B | 78 | AB | |
---|---|---|---|
RGB | 75 | 120 | 171 |
HSL | 212° | 39.02% | 48.24% |
HSB/HSV | 212° | 56.14% | 67.06% |
CMYK | 56.14% | 29.82% | 0.00% |
32.94% |
HEX | 4B | 78 | AB |
Decimal | 75 | 120 | 171 |
Binary | 1001011 | 1111000 | 10101011 |
Octal | 113 | 170 | 253 |
Examples of css and html codes for elements with #4B78AB color. Also use rgb(75,120,171) instead hex code.
.myTextColor { color: #4B78AB; }
<p style="color:#4B78AB">This sample text font color is #4B78AB.</p>
This text font color is #4B78AB.
.myBgColor { background-color: #4B78AB; }
<div style="background-color:#4B78AB">Inner text</div>
This div background color is #4B78AB.
.myBorderColor { border: 1px solid #4B78AB; }
<div style="border:3px solid #4B78AB">Div</div>
This div border color is #4B78AB.
.myOpacity80 { color: #4B78AB; opacity: 0.8; }
<p style="color:#4B78AB;opacity:0.8;">80%</p>
Text with #4B78AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B78AB;}
<p style="text-shadow: 3px 3px 1px #4B78AB">Text here.</p>
This text has shadow with #4B78AB color.
.textShadow {text-shadow: 3px 3px 1px #4B78AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B78AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B78AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B78AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B78AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B78AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B78AB; -webkit-box-shadow: 1px 1px 3px 2px #4B78AB; box-shadow: 1px 1px 3px 2px #4B78AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B78AB; -webkit-box-shadow: 1px 1px 3px 2px #4B78AB; box-shadow:1px 1px 3px 2px #4B78AB;">
Div content here</div>
This text has color #4B78AB on black background.
This text has color #4B78AB on white background.
This text has black color on #4B78AB background.
This text has white color on #4B78AB background.