HEX: #4C7DAB
RGB: (76,125,171)
#4C7DAB contains mainly green and blue colors. Web safe color of #4C7DAB is #336699 (or #369).
#4C7DAB color RGB value is (76,125,171).
RGB: (76,125,171) (30%,49%,67%)
R 76 of 255 = 30%
G 125 of 255 = 49%
B 171 of 255 = 67%
R + G + B ~ 49%. #4C7DAB is middle color (not dark and not light).
R + G + B =
76 + 125 + 171 = 372 (100%)
R 76 of 372 ~ 20.43%
G 125 of 372 ~ 33.6%
B 171 of 372 ~ 45.97%
#4C7DAB color CMYK value is (56,27,0,33).
CMYK: (56,27,0,33) C56M27Y0K33 (56%,27%,0%,33%) (0.56/0.27/0.00/0.33)
4C | 7D | AB | |
---|---|---|---|
RGB | 76 | 125 | 171 |
HSL | 209° | 38.46% | 48.43% |
HSB/HSV | 209° | 55.56% | 67.06% |
CMYK | 55.56% | 26.90% | 0.00% |
32.94% |
HEX | 4C | 7D | AB |
Decimal | 76 | 125 | 171 |
Binary | 1001100 | 1111101 | 10101011 |
Octal | 114 | 175 | 253 |
Examples of css and html codes for elements with #4C7DAB color. Also use rgb(76,125,171) instead hex code.
.myTextColor { color: #4C7DAB; }
<p style="color:#4C7DAB">This sample text font color is #4C7DAB.</p>
This text font color is #4C7DAB.
.myBgColor { background-color: #4C7DAB; }
<div style="background-color:#4C7DAB">Inner text</div>
This div background color is #4C7DAB.
.myBorderColor { border: 1px solid #4C7DAB; }
<div style="border:3px solid #4C7DAB">Div</div>
This div border color is #4C7DAB.
.myOpacity80 { color: #4C7DAB; opacity: 0.8; }
<p style="color:#4C7DAB;opacity:0.8;">80%</p>
Text with #4C7DAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C7DAB;}
<p style="text-shadow: 3px 3px 1px #4C7DAB">Text here.</p>
This text has shadow with #4C7DAB color.
.textShadow {text-shadow: 3px 3px 1px #4C7DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C7DAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C7DAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C7DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C7DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C7DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C7DAB; -webkit-box-shadow: 1px 1px 3px 2px #4C7DAB; box-shadow: 1px 1px 3px 2px #4C7DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C7DAB; -webkit-box-shadow: 1px 1px 3px 2px #4C7DAB; box-shadow:1px 1px 3px 2px #4C7DAB;">
Div content here</div>
This text has color #4C7DAB on black background.
This text has color #4C7DAB on white background.
This text has black color on #4C7DAB background.
This text has white color on #4C7DAB background.