HEX: #4F7FAE
RGB: (79,127,174)
#4F7FAE contains mainly green and blue colors. Web safe color of #4F7FAE is #666699 (or #669).
#4F7FAE color RGB value is (79,127,174).
RGB: (79,127,174) (31%,50%,68%)
R 79 of 255 = 31%
G 127 of 255 = 50%
B 174 of 255 = 68%
R + G + B ~ 50%. #4F7FAE is middle color (not dark and not light).
R + G + B =
79 + 127 + 174 = 380 (100%)
R 79 of 380 ~ 20.79%
G 127 of 380 ~ 33.42%
B 174 of 380 ~ 45.79%
#4F7FAE color CMYK value is (55,27,0,32).
CMYK: (55,27,0,32) C55M27Y0K32 (55%,27%,0%,32%) (0.55/0.27/0.00/0.32)
4F | 7F | AE | |
---|---|---|---|
RGB | 79 | 127 | 174 |
HSL | 210° | 37.55% | 49.61% |
HSB/HSV | 210° | 54.60% | 68.24% |
CMYK | 54.60% | 27.01% | 0.00% |
31.76% |
HEX | 4F | 7F | AE |
Decimal | 79 | 127 | 174 |
Binary | 1001111 | 1111111 | 10101110 |
Octal | 117 | 177 | 256 |
Examples of css and html codes for elements with #4F7FAE color. Also use rgb(79,127,174) instead hex code.
.myTextColor { color: #4F7FAE; }
<p style="color:#4F7FAE">This sample text font color is #4F7FAE.</p>
This text font color is #4F7FAE.
.myBgColor { background-color: #4F7FAE; }
<div style="background-color:#4F7FAE">Inner text</div>
This div background color is #4F7FAE.
.myBorderColor { border: 1px solid #4F7FAE; }
<div style="border:3px solid #4F7FAE">Div</div>
This div border color is #4F7FAE.
.myOpacity80 { color: #4F7FAE; opacity: 0.8; }
<p style="color:#4F7FAE;opacity:0.8;">80%</p>
Text with #4F7FAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F7FAE;}
<p style="text-shadow: 3px 3px 1px #4F7FAE">Text here.</p>
This text has shadow with #4F7FAE color.
.textShadow {text-shadow: 3px 3px 1px #4F7FAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F7FAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F7FAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F7FAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F7FAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F7FAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F7FAE; -webkit-box-shadow: 1px 1px 3px 2px #4F7FAE; box-shadow: 1px 1px 3px 2px #4F7FAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F7FAE; -webkit-box-shadow: 1px 1px 3px 2px #4F7FAE; box-shadow:1px 1px 3px 2px #4F7FAE;">
Div content here</div>
This text has color #4F7FAE on black background.
This text has color #4F7FAE on white background.
This text has black color on #4F7FAE background.
This text has white color on #4F7FAE background.