HEX: #4B7FAF
RGB: (75,127,175)
#4B7FAF contains mainly green and blue colors. Web safe color of #4B7FAF is #336699 (or #369).
#4B7FAF color RGB value is (75,127,175).
RGB: (75,127,175) (29%,50%,69%)
R 75 of 255 = 29%
G 127 of 255 = 50%
B 175 of 255 = 69%
R + G + B ~ 49%. #4B7FAF is middle color (not dark and not light).
R + G + B =
75 + 127 + 175 = 377 (100%)
R 75 of 377 ~ 19.89%
G 127 of 377 ~ 33.69%
B 175 of 377 ~ 46.42%
#4B7FAF color CMYK value is (57,27,0,31).
CMYK: (57,27,0,31) C57M27Y0K31 (57%,27%,0%,31%) (0.57/0.27/0.00/0.31)
4B | 7F | AF | |
---|---|---|---|
RGB | 75 | 127 | 175 |
HSL | 209° | 40.00% | 49.02% |
HSB/HSV | 209° | 57.14% | 68.63% |
CMYK | 57.14% | 27.43% | 0.00% |
31.37% |
HEX | 4B | 7F | AF |
Decimal | 75 | 127 | 175 |
Binary | 1001011 | 1111111 | 10101111 |
Octal | 113 | 177 | 257 |
Examples of css and html codes for elements with #4B7FAF color. Also use rgb(75,127,175) instead hex code.
.myTextColor { color: #4B7FAF; }
<p style="color:#4B7FAF">This sample text font color is #4B7FAF.</p>
This text font color is #4B7FAF.
.myBgColor { background-color: #4B7FAF; }
<div style="background-color:#4B7FAF">Inner text</div>
This div background color is #4B7FAF.
.myBorderColor { border: 1px solid #4B7FAF; }
<div style="border:3px solid #4B7FAF">Div</div>
This div border color is #4B7FAF.
.myOpacity80 { color: #4B7FAF; opacity: 0.8; }
<p style="color:#4B7FAF;opacity:0.8;">80%</p>
Text with #4B7FAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7FAF;}
<p style="text-shadow: 3px 3px 1px #4B7FAF">Text here.</p>
This text has shadow with #4B7FAF color.
.textShadow {text-shadow: 3px 3px 1px #4B7FAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7FAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B7FAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7FAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7FAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7FAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B7FAF; -webkit-box-shadow: 1px 1px 3px 2px #4B7FAF; box-shadow: 1px 1px 3px 2px #4B7FAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B7FAF; -webkit-box-shadow: 1px 1px 3px 2px #4B7FAF; box-shadow:1px 1px 3px 2px #4B7FAF;">
Div content here</div>
This text has color #4B7FAF on black background.
This text has color #4B7FAF on white background.
This text has black color on #4B7FAF background.
This text has white color on #4B7FAF background.